diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-10 00:05:38 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-10 00:21:11 -0700 |
commit | 64afada7f0d23aa5f5ab2f0c455cf3a06f5d9836 (patch) | |
tree | c67419494b061a72ea6221adcea3aaeeccc0ec4d /share | |
parent | 9f563f4873c55144c7094065b7dd4d49fb31e042 (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.fish | 2 |
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 |