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

Re: Another completion question



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

> '(-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.

Not my day, today..

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


Oh well, the part about using wildcards is still unanswered, at
least :p


Richard



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