mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
@ -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…
x
Reference in New Issue
Block a user