about summary refs log tree commit diff
path: root/Completion/Core/_wanted
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-13 10:26:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-13 10:26:17 +0000
commit8b53e5de541bcdb93502acc31177755082e513b5 (patch)
tree28285bd4caf42a47f7fc4c10c8966aac657acdc3 /Completion/Core/_wanted
parent963043760fdda262131532a724f0d6b1606888d5 (diff)
downloadzsh-8b53e5de541bcdb93502acc31177755082e513b5.tar.gz
zsh-8b53e5de541bcdb93502acc31177755082e513b5.tar.xz
zsh-8b53e5de541bcdb93502acc31177755082e513b5.zip
zsh-workers/10108
Diffstat (limited to 'Completion/Core/_wanted')
-rw-r--r--Completion/Core/_wanted5
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Core/_wanted b/Completion/Core/_wanted
index f95d74451..400daa701 100644
--- a/Completion/Core/_wanted
+++ b/Completion/Core/_wanted
@@ -19,7 +19,8 @@ else
 fi
 
 if [[ $# -gt 1 ]]; then
-  _tags "$targs[@]" "$tag" && _description "$@"
+  _tags "$targs[@]" "$tag" && _comp_tags="$_comp_tags $tag" &&
+    _description "$@"
 else
-  _tags "$targs[@]" "$tag"
+  _tags "$targs[@]" "$tag" && _comp_tags="$_comp_tags $tag"
 fi