Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with /cygdrive and (#i) globbing flag
- X-seq: zsh-workers 17463
- From: "Vagn Johansen" <vjo@xxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: Problem with /cygdrive and (#i) globbing flag
- Date: Wed, 17 Jul 2002 21:14:34 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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