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

Re: Completion II



"Nikolai Weibull" <now@xxxxxxxx> wrote in 
news:dbfc82860705170423p4de4b42fh564a4f5df78c1638@xxxxxxxxxxxxxx:

> On 5/17/07, zzapper <david@xxxxxxxxxx> wrote:
>> Hi
>>
>> Say I want to complete a filename I know contains a certain string 'joe'
>>
>> I can do
>>
>> > vi *joe*<TAB>
>>
>> or even
>>
>> > vi main*joe*<TAB>
> 
> % 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.
> 
>   nikolai
> 
> 
Sorry Not working for me can you give an example?


$ setopt
autopushd
nocaseglob
extendedglob
interactive
monitor
nopromptcr
pushdignoredups
shinstdin
zle


-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html



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