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

Problem with /cygdrive and (#i) globbing flag



For some reasong the cygdrive prefix does not work with the 
globbing flag #i (ignore case).

See the last 'ls' line. The one with no matches.

/>ls [cC]*
CYGWIN.TXT  cygwin.PIF  cygwin.bat  cygwin.ico
/>ls (#i)c*
CYGWIN.TXT  cygwin.PIF  cygwin.bat  cygwin.ico
/>ls (#i)/c*
/CYGWIN.TXT  /cygwin.PIF  /cygwin.bat  /cygwin.ico
/>ls /cygdrive/c/c* 
/cygdrive/c/chop.txt  /cygdrive/c/cygwin.zip
/>ls (#i)/cygdrive/c/c*
zsh: no matches found: (#i)/cygdrive/c/c*
/>

My .zshrc:

#!/usr/local/bin/zsh -f

path=(/usr/bin $path)
setopt extendedglob
autoload -U  compinit
compinit -C # > ~/compinit.out
PS1='%~>'




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