Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author