From 64afada7f0d23aa5f5ab2f0c455cf3a06f5d9836 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 10 Jun 2012 00:05:38 -0700 Subject: [PATCH] Switched from using 'type' to 'functions --query' since it's a lot cheaper --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 4bb5fe23e..3c2c720a3 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -205,7 +205,7 @@ function __fish_config_interactive -d "Initializations that should be performed if test "$fish_key_bindings" = fish_default_key_bindings fish_default_key_bindings #Load user keybindings if they are defined - if type fish_user_keybindings > /dev/null + if functions --query fish_user_keybindings > /dev/null fish_user_keybindings end else