User directory in path in zsh: not working
Posted
by Yar
on Super User
See other posts from Super User
or by Yar
Published on 2010-05-18T18:56:26Z
Indexed on
2010/05/18
19:10 UTC
Read the original article
Hit count: 377
I'm doing this in my .zshrc
PATH="~/scripts:$PATH"
and if I do echo $PATH
it appears as the first thing in the path. Yet this directory isn't included in the executable path (nor for tab-completion). What am I doing wrong? ls ~/scripts
shows the directory as expected.
Edit: This works, though... I guess ~
doesn't work in the path?
#PATH="~/scripts:$PATH"
PATH="/Users/yar/scripts:$PATH"
© Super User or respective owner