aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-06-10 00:05:38 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-06-10 00:21:11 -0700
commit64afada7f0d23aa5f5ab2f0c455cf3a06f5d9836 (patch)
treec67419494b061a72ea6221adcea3aaeeccc0ec4d /share
parent9f563f4873c55144c7094065b7dd4d49fb31e042 (diff)
Switched from using 'type' to 'functions --query' since it's a lot cheaper
Diffstat (limited to 'share')
-rw-r--r--share/functions/__fish_config_interactive.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish
index 4bb5fe23..3c2c720a 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