The directory exists

Yves S. Garret yoursurrogategod at gmail.com
Fri Apr 2 17:57:45 PDT 2010


No, I don't appear to have it set.

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin

I have the below in my .zsh_profile.

#!/bin/zsh

if [ -e ~/.zshrc ]; then
source ~/.zshrc
fi

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

typeset -U manpath
export PATH

After I saved it and then opened a new tab in the terminal, the new
directories were not added.  I'm confused now...

On Fri, Apr 2, 2010 at 8:47 PM, Joshua Root <jmr at macports.org> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100402/7b99e8f5/attachment.html>


More information about the macports-users mailing list