In my .bash_profile I have the following lines:
PATHDIRS=\"
/usr/local/mysql/bin
/usr/local/share/python
/opt/local/bin
/opt/local/sbin
$HOME/bin\"
for
You can put
setopt shwordsplit
in your .zshrc
. Then zsh will perform world splitting like all Bourne shells do. That the default appears to be noshwordsplit
is a misfeature that causes many a head scratching. I'd be surprised if it wasn't a FAQ. Lets see... yup:
http://zsh.sourceforge.net/FAQ/zshfaq03.html#l18
3.1: Why does $var where var="foo bar" not do what I expect?