Switched from using 'type' to 'functions --query' since it's a lot cheaper

This commit is contained in:
ridiculousfish 2012-06-10 00:05:38 -07:00
parent 9f563f4873
commit 64afada7f0

View file

@ -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