From e14b3b18214e8cfde88c90fb52772457a5c3a3e4 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 15 Oct 1999 09:36:01 +0000 Subject: zsh-workers/8270 --- Completion/Base/_arguments | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Base') 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 -- cgit 1.4.1