Can't get MacPorts to work after the install

Perry Lee perry at
Fri Apr 2 08:50:51 PDT 2010

On Apr 2, 2010, at 4:19 AM, Yves S. Garret wrote:

> Everything was as it should, then I modified the .zsh_profile file in order to insert to modify the PATH and it looks as it does below:
> #!/bin/zsh
> if [ -e ~/.zshrc ]; then
> source ~/.zshrc
> fi
> export PATH=/opt/local/bin:$PATH
> export PATH=/opt/local/sbin:$PATH

Try adding PATH to ~/.zshenv instead. For example:

path=(/opt/local/{bin,sbin} $path)

You may also want to check out

More information about the macports-users mailing list