From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28064 invoked from network); 5 Jul 1999 13:47:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jul 1999 13:47:50 -0000 Received: (qmail 16906 invoked by alias); 5 Jul 1999 13:41:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6980 Received: (qmail 16895 invoked from network); 5 Jul 1999 13:41:00 -0000 Date: Mon, 5 Jul 1999 15:40:56 +0200 (MET DST) Message-Id: <199907051340.PAA07817@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Sun, 04 Jul 1999 18:34:19 +0200 Subject: Re: PATCH: pws-25: more completion goodies Peter Stephenson wrote: > +# Took me ages to work this out. If we're not on the first global > +# matcher specification, we mustn't do any I/O. > +if [[ compstate[matcher] -gt 1 && -n $_read_comp ]]; then > + return 1 > +fi I'm still scratching my head, but shouldn't that be `-z $_read_comp'? Otherwise if I do `foo ^X^R^G' I get a `compgen: not enough arguments' further down. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de