From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27176 invoked from network); 30 Aug 1999 09:30:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Aug 1999 09:30:50 -0000 Received: (qmail 20229 invoked by alias); 30 Aug 1999 09:30:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7538 Received: (qmail 20222 invoked from network); 30 Aug 1999 09:30:40 -0000 Date: Mon, 30 Aug 1999 11:30:40 +0200 (MET DST) Message-Id: <199908300930.LAA20674@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 28 Aug 1999 15:01:41 +0900 Subject: Re: PATCH: completion Tanaka Akira wrote: > Hm. _arguments called from _cvs should not complete options after > non-option arguments. ... because `_cvs' uses `*::...'. Right. Bye Sven diff -u oc/Base/_arguments Completion/Base/_arguments --- oc/Base/_arguments Mon Aug 30 10:58:52 1999 +++ Completion/Base/_arguments Mon Aug 30 11:29:55 1999 @@ -499,6 +499,7 @@ line=( "$line[@]" "$ws[1]" ) [[ -n "$inopt" ]] && nargbeg=$(( beg - 1 )) inopt='' + [[ -z "$args[nth]" && "$rest" = \*::* ]] && break (( nth++ )) fi fi -- Sven Wischnowsky wischnow@informatik.hu-berlin.de