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

Re: compctl -y and complist module



Greg Klanderman wrote:

> Is there any way to have complist work when you use the -y option of
> compctl?  It would seem that if I agree to return a display list array
> exactly as long as the input list and with the display choices in the
> same order this should be sufficient.  Could compctl have an option so
> I can tell it that my -y function will abide by these rules?
> 
> I'm using zsh 3.1.6.

I'm very reluctant to change compctl with all the new completion stuff 
in place. That, i.e. compadd, supports the -d (and -l) options to
allow to specify per-match display strings.

I never liked -y, sigh.

Hm, do we have to change compctl? Again? Still? Oh, help, please...

> btw- the matching control (compctl -M) is pretty darn cool!

Thanks.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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