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

Re: Another completion question



On Sun, Dec 28, 2008 at 01:48, Richard Hartmann
<richih.mailinglist@xxxxxxxxx> wrote:

> does not work, presumably because the -{h,-help} is outside of
> the single ticks.

I solved that part..

'(-foo)'-{b,-bar}'[baz]'

I have a follow-up question, though. In the example above, how
could I make -b and --bar mutually exclusive? It does not make
sense to offer the other one if its twin is already specified on the
command line.


Richard



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