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

Re: Completion II



On 5/17/07, zzapper <david@xxxxxxxxxx> wrote:

"Nikolai Weibull" <now@xxxxxxxx> wrote in

> % man zshexpn
>
> (search for "Matches anything except")
>
> You'll find two options, ^x and x~y.  ^x matches anything except
> whatever x matches.  x~y matches anything x matches except anything
> that also matches y.

Sorry Not working for me can you give an example?

What's there to be sorry about?

Did you actually read the documentation?

% mkdir example && cd example &&  touch a b c d e f g && ls *~[ef] &&
cd .. && rm -r example
a  b  c  d  g

 nikolai



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