summaryrefslogtreecommitdiff
path: root/Completion/Zsh/Command/_zle
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-01-22 16:22:20 +0100
committerAxel Beckert <abe@deuxchevaux.org>2012-01-22 16:22:20 +0100
commitdbd9bc55f629891c29373398120d8af7e2c44732 (patch)
tree7a4f6a02ad876cdd236dbe6a8d68e172dc50a9e4 /Completion/Zsh/Command/_zle
parent1a3a8694a6eae1e140d746e4c21769cdd56971c0 (diff)
parent09532a70ead07a600a3d2258837d6e3fe943f2fd (diff)
downloadzsh-dbd9bc55f629891c29373398120d8af7e2c44732.tar.gz
zsh-dbd9bc55f629891c29373398120d8af7e2c44732.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Zsh/Command/_zle')
-rw-r--r--Completion/Zsh/Command/_zle2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_zle b/Completion/Zsh/Command/_zle
index 80f217711..2bfc708e5 100644
--- a/Completion/Zsh/Command/_zle
+++ b/Completion/Zsh/Command/_zle
@@ -44,7 +44,7 @@ case "$state[1]" in
'(-)*:widget arguments: ' && ret=0
;;
(widget*)
- _wanted -C "$context[1]" widgets expl widget compadd -k widgets && ret=0
+ _wanted -C "$context[1]" widgets expl "${state_descr[1]:-widget}" compadd -k widgets && ret=0
;&
(function)
[[ $state[1] != *function ]] || # Handle fall-through