Ok, now I know why that didn't work :) . I feel silly now. The .zshenv file did not exist in my ~. While installing, the installer probably just modifies it and does not create it (not sure about this, just a guess) and I was changing the path in the wrong file (oops.)
On Fri, Apr 2, 2010 at 8:47 PM, Joshua Root <[email protected]> wrote: > On 2010-4-3 11:32 , Yves S. Garret wrote: > > Hello, /opt/local/bin/port does exist, I just checked. > > > > As for the syntax, this is what I have in ~/.zsh_profile (I added it by > > hand): > > > > #!/bin/zsh > > > > if [ -e ~/.zshrc ]; then > > source ~/.zshrc > > fi > > > > path=(/opt/local/{bin,sbin} $path) > > > > typeset -U path > > export PATH > > Regardless of anything else, it's very easy to check whether you have > set your PATH correctly just by running 'echo $PATH' in the shell. > > - Josh >
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
