* PATCH: type in _path_files
@ 2000-02-11 12:58 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-02-11 12:58 UTC (permalink / raw)
To: zsh-workers
The important bit was the missin colon in the description for -M. The
other hunks just allow -M to appear more than once.
Bye
Sven
diff -ru ../z.old/Completion/Core/_files Completion/Core/_files
--- ../z.old/Completion/Core/_files Fri Feb 11 11:59:30 2000
+++ Completion/Core/_files Fri Feb 11 13:56:35 2000
@@ -4,7 +4,7 @@
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 -ru ../z.old/Completion/Core/_multi_parts Completion/Core/_multi_parts
--- ../z.old/Completion/Core/_multi_parts Fri Feb 11 11:59:30 2000
+++ Completion/Core/_multi_parts Fri Feb 11 13:56:56 2000
@@ -15,7 +15,7 @@
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 -ru ../z.old/Completion/Core/_path_files Completion/Core/_path_files
--- ../z.old/Completion/Core/_path_files Fri Feb 11 11:59:31 2000
+++ Completion/Core/_path_files Fri Feb 11 13:55:38 2000
@@ -19,7 +19,7 @@
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 -ru ../z.old/Completion/Core/_sep_parts Completion/Core/_sep_parts
--- ../z.old/Completion/Core/_sep_parts Fri Feb 11 11:59:31 2000
+++ Completion/Core/_sep_parts Fri Feb 11 13:56:43 2000
@@ -23,7 +23,7 @@
# 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]}"
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-02-11 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-11 12:58 PATCH: type in _path_files Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).