From db777b0f0b0ab924afb4ecdef883715e732c702d Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 11 Feb 2000 13:00:37 +0000 Subject: zsh-workers/9680 --- Completion/Core/_files | 2 +- Completion/Core/_multi_parts | 2 +- Completion/Core/_path_files | 2 +- Completion/Core/_sep_parts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Completion/Core/_files b/Completion/Core/_files index ab35b7f05..ee0b46c1b 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -4,7 +4,7 @@ local opts opt type=file glob group gopts dopts aopts tmp _file_pat_checked=yes local hasign ign zparseopts -a opts \ - '/=tmp' 'f=tmp' 'g+:-=tmp' q n 1 2 P: S: r: R: W: X: M: F: \ + '/=tmp' 'f=tmp' 'g+:-=tmp' q n 1 2 P: S: r: R: W: X: M+: F: \ 'J:=group' 'V:=group' type="${(@j::M)${(@)tmp#-}#?}" diff --git a/Completion/Core/_multi_parts b/Completion/Core/_multi_parts index 6aa6da064..56c0a9985 100644 --- a/Completion/Core/_multi_parts +++ b/Completion/Core/_multi_parts @@ -15,7 +15,7 @@ typeset -U tmp2 zparseopts -D -a sopts \ 'J:=group' 'V:=group' 'X:=expl' 'P:=opts' 'F:=opts' \ - S: r: R: q 1 2 n 'M:=match' + S: r: R: q 1 2 n 'M+:=match' sopts=( "$sopts[@]" "$opts[@]" ) if (( $#match )); then diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index cac4acd54..d8c7b9812 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -19,7 +19,7 @@ exppaths=() zparseopts -a mopts \ 'P:=pfxsfx' 'S:=pfxsfx' 'q=pfxsfx' 'r:=pfxsfx' 'R:=pfxsfx' \ - 'W:=prepaths' 'F:=ignore' 'M+=matcher' \ + 'W:=prepaths' 'F:=ignore' 'M+:=matcher' \ J: V: X: 1: 2: n: 'f=tmp1' '/=tmp1' 'g+:-=tmp1' sopt="-${(@j::M)${(@)tmp1#-}#?}" diff --git a/Completion/Core/_sep_parts b/Completion/Core/_sep_parts index f3b73444e..76fb2f6a5 100644 --- a/Completion/Core/_sep_parts +++ b/Completion/Core/_sep_parts @@ -23,7 +23,7 @@ local matchflags opt group expl nm=$compstate[nmatches] opre osuf opts match # Get the options. zparseopts -D -a opts \ - 'J:=group' 'V=:group' P: F: S: r: R: q 1 2 n 'X:=expl' 'M:=match' + 'J:=group' 'V=:group' P: F: S: r: R: q 1 2 n 'X:=expl' 'M+:=match' if (( $#match )); then match="${match[2]}" -- cgit 1.4.1