Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: matcher-list question
- X-seq: zsh-users 12251
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: matcher-list question
- Date: Tue, 27 Nov 2007 09:42:03 +0100
- In-reply-to: <20071119160702.GB29766@xxxxxxxxx>
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071119160702.GB29766@xxxxxxxxx>
> How can I avoid this behaviour?
Hm, nobody seems to know an answer...
Does that mean, it is not avoidable at all?
> lama:~>zsh -f
> lama% autoload -U compinit; compinit -C
> lama% zstyle ":completion:*" matcher-list 'r:|[-./_]=* r:|=*' '+l:|=*'
> lama% ls
> foo-bar-abc foo-bar-def foo-bar-geh
> lama% ls bar<TAB>
> lama% ls -foobar-
>
> I'd really prefer:
> lama% ls bar<TAB>
> lama% ls foo-bar-
>
> What am I doing wrong?
Thanks,
Andy.
--
"C++ -- where friends can access your privates."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author