mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 22:14:53 +00:00
Revive support for fish_user_keybindings
This is undocumented and here to preserve backwards compatibility.
This commit is contained in:
parent
58a0c6f9d3
commit
e06d6ce4a2
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
#Load user key bindings if they are defined
|
#Load user key bindings if they are defined
|
||||||
if functions --query fish_user_key_bindings > /dev/null
|
if functions --query fish_user_key_bindings > /dev/null
|
||||||
fish_user_key_bindings
|
fish_user_key_bindings
|
||||||
|
# Deprecated. Retained for backwards compatibility reasons.
|
||||||
|
else if functions --query fish_user_keybindings > /dev/null
|
||||||
|
fish_user_keybindings
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
eval $fish_key_bindings ^/dev/null
|
eval $fish_key_bindings ^/dev/null
|
||||||
|
|
Loading…
Reference in a new issue