diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-26 15:36:10 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-26 15:36:10 +0000 |
commit | e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6 (patch) | |
tree | e4247c2507fa1a135740a3cd02e7405cbdbfa69a /Completion/Builtins/_bindkey | |
parent | 56f338eb8bfd4bcdbf14b495ff8a34425c3527d4 (diff) | |
download | zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.tar.gz zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.tar.xz zsh-e0b26186f1d3c1a3a580eb7e8a8199c25536f4e6.zip |
manual/8424
Diffstat (limited to 'Completion/Builtins/_bindkey')
-rw-r--r-- | Completion/Builtins/_bindkey | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Builtins/_bindkey b/Completion/Builtins/_bindkey index 891e2cedb..3f964e704 100644 --- a/Completion/Builtins/_bindkey +++ b/Completion/Builtins/_bindkey @@ -3,7 +3,7 @@ # Normally, this completes names of zle widgets, whether the builtin ones # or ones defined by the user. Note that a - allows a wildcard before it, # so h-b-s-b will complete to history-beginning-search-backward. You -# can alter this by removing the -M ... from the second compgen. +# can alter this by removing the -M ... from the second compadd. # # Where appropriate, will complete keymaps instead of widgets. @@ -11,8 +11,8 @@ local expl if [[ "$words[2]" = -*[DAN]* || "$words[CURRENT-1]" = -*M ]]; then _description expl keymap - compadd "$expl[@]" - $(bindkey -l) + compadd "$expl[@]" - "$zlekeymaps[@]" else _description expl widget - compgen "$expl[@]" -b -M 'r:|-=* r:|=*' + compadd "$expl[@]" -M 'r:|-=* r:|=*' - "${(@k)zlewidgets}" fi |