Fix bug in key binding code causing unneeded error messages

darcs-hash:20071031091503-75c98-3ab5786c1f991e4ea37c33b76823a487f25fab64.gz
This commit is contained in:
liljencrantz 2007-10-31 19:15:03 +10:00
parent f506f1f495
commit 2c5151bb78

View File

@ -189,11 +189,11 @@ function __fish_config_interactive -d "Initializations that should be performed
set -U fish_key_bindings fish_default_key_bindings
end
eval $fish_key_bindings
eval $fish_key_bindings ^/dev/null
function __fish_reload_key_bindings -d "Reload keybindings when binding variable change" --on-variable fish_key_bindings
eval $fish_key_bindings
end ^/dev/null
eval $fish_key_bindings ^/dev/null
end
function __fish_winch_handler --on-signal winch
commandline -f repaint