diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Base/_arguments | 2 |
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 |