mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 22:39:47 +08:00
Introduced fish_user_keybindings
This commit is contained in:
parent
ca61d0ee8b
commit
9f563f4873
|
@ -204,6 +204,10 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
# Do something nasty to avoid two forks
|
||||
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
|
||||
fish_user_keybindings
|
||||
end
|
||||
else
|
||||
eval $fish_key_bindings ^/dev/null
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user