Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: -F for _{multi,sep}_parts
- X-seq: zsh-workers 9386
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: -F for _{multi,sep}_parts
 
- Date: Thu, 20 Jan 2000 11:00:18 +0100 (MET)
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author