From d1fc7aafc77a15c150a139849536e1618f48ff94 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 10 Feb 2000 11:56:36 +0000 Subject: zsh-workers/9648 --- Completion/Core/_sep_parts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Completion/Core/_sep_parts') diff --git a/Completion/Core/_sep_parts b/Completion/Core/_sep_parts index cff34db0c..f3b73444e 100644 --- a/Completion/Core/_sep_parts +++ b/Completion/Core/_sep_parts @@ -22,13 +22,11 @@ local matchflags opt group expl nm=$compstate[nmatches] opre osuf opts match # Get the options. -zparseopts -D \ - J:group V:group \ - P:opts F:opts S:opts r:opts R:opts qopts 1opts 2opts nopts \ - X:expl M:match +zparseopts -D -a opts \ + 'J:=group' 'V=:group' P: F: S: r: R: q 1 2 n 'X:=expl' 'M:=match' if (( $#match )); then - match="${match[1][3,-1]}" + match="${match[2]}" else match='' fi -- cgit 1.4.1