Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: something strange with case insensitive matching
- X-seq: zsh-workers 11071
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: something strange with case insensitive matching
- Date: Tue, 2 May 2000 14:54:40 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Tue, 2 May 2000 16:19:13 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> This one correctly completes:
>
> bor@itsrm2% sudo rm /t/sh/z/-2/f/B<TAB>
> bor@itsrm2% sudo rm /tools/share/zsh/3.1.7-pre-2/functions/B
> Completing file
> Base/ Builtins/
>
> but this one not
>
> bor@itsrm2% sudo rm /t/sh/z/-2/f/b<TAB>
> bor@itsrm2% sudo rm /t/sh/z/-2/f/b
> Completing `arguments', `file', or `option'
It *does* complete correctly.
> ...
>
> zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'r:|[._-]=*
> r:|=*' 'r:|[.-]=** r:|=**'
If you want partial word matching and case-insensitivity at the same
time, you have to tell 'em:
zstyle ':completion:*' matcher-list \
'' \
'm:{a-z}={A-Z}' \
'm:{a-z}={A-Z} r:|[._-]=* r:|=*' \
'm:{a-z}={A-Z} r:|[.-]=** r:|=**'
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author