diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2014-12-21 22:23:06 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-12-21 22:23:06 +0100 |
commit | 89c692eafb78d4f5a7cf48dc8fc8ab3e5eb73abd (patch) | |
tree | 8a64a5f0d9f4fd6d6b1126657eec024b4836f6d0 | |
parent | 89012cf94caa6e782b928d0eacfbf840244ffb6b (diff) | |
download | zsh-89c692eafb78d4f5a7cf48dc8fc8ab3e5eb73abd.tar.gz zsh-89c692eafb78d4f5a7cf48dc8fc8ab3e5eb73abd.tar.xz zsh-89c692eafb78d4f5a7cf48dc8fc8ab3e5eb73abd.zip |
33977: don't complete widgets as first argument to bindkey
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Command/_bindkey | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c11e2dee3..055cf2f21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-21 Oliver Kiddle <opk@zsh.org> + + * Daniel Shahaf: 33977: Completion/Zsh/Command/_bindkey: + don't complete widgets as first argument to bindkey + 2014-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> * 34015: Src/params.c: back off yesterday's mess and diff --git a/Completion/Zsh/Command/_bindkey b/Completion/Zsh/Command/_bindkey index 045cba960..4c4aeda9d 100644 --- a/Completion/Zsh/Command/_bindkey +++ b/Completion/Zsh/Command/_bindkey @@ -26,6 +26,7 @@ _arguments -C -s -S \ '(-l -L -d -D -A -N -m -s *)-r[unbind specified in-strings]:*:in-string' \ '(-l -L -d -D -A -N -m -p -r *)-s[bind each in-string to each out-string]:*:key string' \ '(-e -v -a -M -l -L -d -D -A -N -m -p)-R[interpret in-strings as ranges]' \ + '(-l -L -d -A -N -m -p -r -s):in-string' \ '(-l -L -d -A -N -m -p -r -s)*::widgets:->widget' && ret=0 case $state in |