Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion II
- X-seq: zsh-users 11494
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Completion II
- Date: Thu, 17 May 2007 12:03:36 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns99337C43C7AACzzappergmailcom@xxxxxxxxxxx> <dbfc82860705170423p4de4b42fh564a4f5df78c1638@xxxxxxxxxxxxxx> <Xns9933807BE26D2zzappergmailcom@xxxxxxxxxxx> <dbfc82860705170446n5f99ad5cj763702298b8cf68d@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
"Nikolai Weibull" <now@xxxxxxxx> wrote in
news:dbfc82860705170446n5f99ad5cj763702298b8cf68d@xxxxxxxxxxxxxx:
> 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
>
Yep what I wanted was
vi main*~*joe*<TAB>
What I hadnt sussed was that the TAB completion respects normal FNG, cool!
--
zzapper
http://www.rayninfo.co.uk/vimtips.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author