Remove named arg in fish_default_key_bindings

This wasn't actually used anywhere.
This commit is contained in:
Fabian Homborg 2016-04-15 10:55:39 +02:00
parent 7ebafa53f6
commit e67505bead

View file

@ -1,6 +1,6 @@
function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fish" -a mode function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fish"
if not set -q mode[1] if not set -q argv[1]
if test "$fish_key_bindings" != "fish_default_key_bindings" if test "$fish_key_bindings" != "fish_default_key_bindings"
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 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 return