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

Re: current CVS test failure



Peter wrote:
> Oliver Kiddle wrote:
> > The test is doing _arguments '-+o'. Because there are no other
> > (non-option) things being completed, it adds the -o and +o regardless
> > of the prefix. In _describe, I can't know if _arguments is completing
> > other things so I can't think of any easy solution other than checking
> > prefix-needed manually in any other function using _describe -o.
> 
> how about adding another option to _describe e.g. -O which works the
> same but doesn't test prefix-needed and only gets called from
> _arguments?

Possibly.

I was hoping to experiment with a few things because I've got a couple
of other vague ideas. Functions other than _arguments might also be
completing things besides options so would also need the -O behaviour.

Anyway, I've got a train to catch so I can't do anything till next week.

Oliver



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