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

Why are Quotes necessay here?



Hi,

Not necessarily just zsh, and may be I'm being thick today, but why are the double quotes around
the $1* necessary here?

Was the star otherwise being expanded?

elif builtin cd "$1*" &> /dev/null ;

without quotes I get

 no matches found: raynin*

I have 
setopt localoptions nonomatch

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips



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