about summary refs log tree commit diff
path: root/Completion/Core/_wanted
diff options
context:
space:
mode:
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