Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Case insensitive completion problems with cygwin
- X-seq: zsh-users 10922
- From: "John Cooper" <john.cooper@xxxxxxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxx>, <zsh-users@xxxxxxxxxx>
- Subject: RE: Case insensitive completion problems with cygwin
- Date: Thu, 2 Nov 2006 13:45:59 -0000
- In-reply-to: <200611021305.kA2D5ewW011063@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Thread-index: Acb+f7N6mTOxOdD7S+2HVlpEthPXHgABXPMw
- Thread-topic: Case insensitive completion problems with cygwin
Yes, I have "setopt nocaseglob" as well.
--- John.
-----Original Message-----
From: Peter Stephenson [mailto:pws@xxxxxxx]
Sent: 02 November 2006 13:06
To: zsh-users@xxxxxxxxxx
Subject: Re: Case insensitive completion problems with cygwin
"John Cooper" wrote:
> After a fair bit of trial-and-error I've found the following settings
seem =
> to achieve the desired result:
>
> zstyle ':completion:*' matcher-list 'm:{a-z}=3D{A-Z}'
> zstyle ':completion:*:paths' accept-exact 'c:' 'b:' 'w:' 'r:' 'v:'
> zstyle ':completion:*' fake-files '/:c' '/:b' '/:w' '/:r' '/:v'
>
> That is, I now get case-insensitive completion for all the following:
> $ ls /c/p<TAB>
> $ ls /C/p<TAB>
> $ ls c:/p<TAB>
> $ ls C:/p<TAB>
>
This is certainly useful. Have you "setopt nocaseglob"?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser:
http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author