The directory exists

Joshua Root jmr at macports.org
Fri Apr 2 17:47:32 PDT 2010


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


More information about the macports-users mailing list