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 <[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