mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-13 04:56:30 +02:00
-[12n] options don't get arguments (15615)
This commit is contained in:
parent
17ca9022af
commit
d679322cf9
|
@ -1,3 +1,8 @@
|
|||
2001-08-08 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 15615: Completion/Unix/Type/_path_files: -[12n] options don't
|
||||
get arguments
|
||||
|
||||
2001-08-12 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* Peter Breitenlohner: 14956: Makefile.in, Doc/Makefile.in,
|
||||
|
|
|
@ -17,7 +17,7 @@ exppaths=()
|
|||
zparseopts -a mopts \
|
||||
'P:=pfx' 'S:=pfxsfx' 'q=pfxsfx' 'r:=pfxsfx' 'R:=pfxsfx' \
|
||||
'W:=prepaths' 'F:=ignore' 'M+:=matcher' \
|
||||
J+: V+: X+: 1: 2: n: 'f=tmp1' '/=tmp1' 'g+:-=tmp1'
|
||||
J+: V+: X+: 1 2 n 'f=tmp1' '/=tmp1' 'g+:-=tmp1'
|
||||
|
||||
sopt="-${(@j::M)${(@)tmp1#-}#?}"
|
||||
(( $tmp1[(I)-[/g]*] )) && haspats=yes
|
||||
|
|
Loading…
Reference in New Issue