diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-04-14 18:28:32 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-04-26 15:21:15 +0200 |
commit | e6ad48ea1b129471d279d45011b3e6de7fd3b62d (patch) | |
tree | c22bdd2800e4b83aef51fd886245510398445312 /share/functions/fish_default_key_bindings.fish | |
parent | ba5a22e2ce3b84eda1f3e03f8089643971d0f742 (diff) |
Set fish_key_bindings globally in binding functions
This should fix the tests.
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r-- | share/functions/fish_default_key_bindings.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index e679fac0..64f5115f 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -2,7 +2,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fish" -a mode if not set -q mode[1] if test "$fish_key_bindings" != "fish_default_key_bindings" - set fish_key_bindings fish_default_key_bindings # This triggers the handler, which calls us again and ensures the user_key_bindings are executed + set -g fish_key_bindings fish_default_key_bindings # This triggers the handler, which calls us again and ensures the user_key_bindings are executed return end # Clear earlier bindings, if any |