diff options
Diffstat (limited to 'Completion/Builtins/_bindkey')
-rw-r--r-- | Completion/Builtins/_bindkey | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Builtins/_bindkey b/Completion/Builtins/_bindkey index 98459916b..d96c2289b 100644 --- a/Completion/Builtins/_bindkey +++ b/Completion/Builtins/_bindkey @@ -10,9 +10,7 @@ local expl if [[ "$words[2]" = -*[DAN]* || "$words[CURRENT-1]" = -*M ]]; then - _wanted -C -M keymaps expl keymap && - compadd "$expl[@]" - "$keymaps[@]" + _wanted -C -M keymaps expl keymap compadd - "$keymaps[@]" else - _wanted widgets expl widget && - compadd "$expl[@]" -M 'r:|-=* r:|=*' - "${(@k)widgets}" + _wanted widgets expl widget compadd -M 'r:|-=* r:|=*' - "${(@k)widgets}" fi |