about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-15 09:36:01 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-15 09:36:01 +0000
commite14b3b18214e8cfde88c90fb52772457a5c3a3e4 (patch)
tree8a5d4c7c289354fc3b2abd91b220176f58512688 /Completion
parent7d2920511b9dd2862c36e452bd8b1d6eeb07491c (diff)
downloadzsh-e14b3b18214e8cfde88c90fb52772457a5c3a3e4.tar.gz
zsh-e14b3b18214e8cfde88c90fb52772457a5c3a3e4.tar.xz
zsh-e14b3b18214e8cfde88c90fb52772457a5c3a3e4.zip
zsh-workers/8270
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index f7a20ee96..e74b2763e 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -247,7 +247,7 @@ if comparguments -i "$compconfig[autodescribe_options]" "$@"; then
 	  compadd "$expl[@]" -QqS= - "${PREFIX}${SUFFIX}"
         else
 	  tmp1=( "$next[@]" "$direct[@]" "$odirect[@]" "$equal[@]" )
-	  tmp2=( "${PREFIX}${(@)^tmp1%%:*}" )
+	  tmp2=( "${PREFIX}${(@M)^${(@)${(@)tmp1%%:*}#[-+]}:#?}" )
 
           _describe -o -c "$cmd" option tmp1 tmp2 -Q -S ''
         fi