Revive support for fish_user_keybindings

This is undocumented and here to preserve backwards compatibility.
This commit is contained in:
Nate Soares 2012-10-18 22:38:08 -07:00 committed by ridiculousfish
parent 58a0c6f9d3
commit e06d6ce4a2

View file

@ -207,6 +207,9 @@ function __fish_config_interactive -d "Initializations that should be performed
#Load user key bindings if they are defined
if functions --query fish_user_key_bindings > /dev/null
fish_user_key_bindings
# Deprecated. Retained for backwards compatibility reasons.
else if functions --query fish_user_keybindings > /dev/null
fish_user_keybindings
end
else
eval $fish_key_bindings ^/dev/null