From d679322cf9af4e654d9c8d3f04856a8fce5b4988 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 13 Aug 2001 10:57:43 +0000 Subject: -[12n] options don't get arguments (15615) --- ChangeLog | 5 +++++ Completion/Unix/Type/_path_files | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5f914a0d1..76a6cfecd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-08 Sven Wischnowsky + + * 15615: Completion/Unix/Type/_path_files: -[12n] options don't + get arguments + 2001-08-12 Bart Schaefer * Peter Breitenlohner: 14956: Makefile.in, Doc/Makefile.in, diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 1bf91caf2..b635a8ab9 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -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 -- cgit 1.4.1