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

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