From 52152bec7648ed4379053eb2ba3d3290af202195 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 13 Sep 1999 16:33:28 +0000 Subject: manual/7808-for-pws-4 --- Completion/Base/_arguments | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Base/_arguments') diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 7d5aa9ca9..808bfc2ab 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -561,7 +561,7 @@ while [[ cur -gt 0 ]]; do uns="${ws[1][2,-1]}" if [[ -n "$uns" ]]; then - uns="${(@j::)${(v)=xors[(I)${ws[1][1]}[$uns]]}#[-+]}" + uns="${(@j::)${(M@)${(v)=xors[(I)${ws[1][1]}[$uns]]}:#??}#[-+]}" if [[ -n "$uns" ]]; then tmp=( "opts[${(@)^opts[(I)${ws[1][1]}[$uns]]}]" @@ -677,11 +677,11 @@ if [[ -z "$def" || "$def" = :* ]]; then done fi - [[ -n "$sopts" && -n "$opt" && "$PREFIX" = [-+]${~soptseq}[$sopts] ]] && \ + [[ -n "$sopts" && -n "$opt" && "$PREFIX" = [-+]${~soptseq}[$sopts] ]] && uns="${PREFIX[2,-1]}" if [[ -n "$uns" ]]; then - uns="${(@j::)${(v)=xors[(I)${ws[1][1]}[$uns]]}#[-+]}" + uns="${(@j::)${(M@)${(v)=xors[(I)${ws[1][1]}[$uns]]}:#??}#[-+]}" if [[ -n "$uns" ]]; then tmp=( "opts[${(@)^opts[(I)${pre[1]}[$uns]]}]" -- cgit 1.4.1