diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index e9e2d9122..48161d911 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -169,13 +169,13 @@ function __fish_config_interactive -d "Initializations that should be performed set -g fish_bind_mode default if test "$fish_key_bindings" = fish_default_key_bindings fish_default_key_bindings - # Load user key bindings if they are defined - if functions --query fish_user_key_bindings > /dev/null - fish_user_key_bindings - end else eval $fish_key_bindings ^/dev/null end + # Load user key bindings if they are defined + if functions --query fish_user_key_bindings > /dev/null + fish_user_key_bindings + end end # Load key bindings. Redirect stderr per #1155