Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: pws-25: more completion goodies
- X-seq: zsh-workers 6980
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: pws-25: more completion goodies
- Date: Mon, 5 Jul 1999 15:40:56 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Sun, 04 Jul 1999 18:34:19 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author