zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: -F for _{multi,sep}_parts
@ 2000-01-20 10:00 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-01-20 10:00 UTC (permalink / raw)
  To: zsh-workers


They should support the -F option, now that users can control them.

Bye
 Sven

diff -ru ../z.old/Completion/Core/_multi_parts Completion/Core/_multi_parts
--- ../z.old/Completion/Core/_multi_parts	Thu Jan 20 10:48:10 2000
+++ Completion/Core/_multi_parts	Thu Jan 20 10:56:32 2000
@@ -17,12 +17,12 @@
 expl=()
 opts=()
 sopts=()
-while getopts "J:V:X:P:S:r:R:qM:12n" opt; do
+while getopts "J:V:X:P:F:S:r:R:qM:12n" opt; do
   case "$opt" in
   [JV])   group=("-$opt" "$OPTARG");;
   X)      expl=(-X "$OPTARG");;
-  P)      opts=( "$opts[@]" -P "$OPTARG")
-          sopts=( "$sopts[@]" -P "$OPTARG");;
+  [PF])   opts=( "$opts[@]" "-$opt" "$OPTARG")
+          sopts=( "$sopts[@]" "-$opt" "$OPTARG");;
   [SrR])  sopts=( "$sopts[@]" -P "$OPTARG");;
   [q12n]) sopts=( "$sopts[@]" "-$opt");;
   M)      match="$OPTARG";;
diff -ru ../z.old/Completion/Core/_sep_parts Completion/Core/_sep_parts
--- ../z.old/Completion/Core/_sep_parts	Thu Jan 20 10:48:11 2000
+++ Completion/Core/_sep_parts	Thu Jan 20 10:58:42 2000
@@ -25,7 +25,7 @@
 group=()
 expl=()
 opts=()
-while getopts "J:V:X:P:S:r:R:qM:12n" opt; do
+while getopts "J:V:X:P:F:S:r:R:qM:12n" opt; do
   case "$opt" in
   [JV])   group=("-$opt" "$OPTARG");;
   X)      expl=(-X "$OPTARG");;

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-20 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-20 10:00 PATCH: -F for _{multi,sep}_parts 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).