How To Save Path when setting new env variable!!
I am trying to learn how to properly include something in my path. When I run the command echo $PATH, I get /Xcode3.12/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbi n:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/ opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin,,,,,how ever, as soon as I leave the Terminal and relaunch it and retype the echo $PATH command I no longer see what I just included in the path before logging out. This is what i do first:
export PATH=/Xcode3.12/usr/bin:${PATH}
export PATH
export MANPATH=/Xcode3.12/usr/share/man:{MANPATH}
export PATH
After typing this in the Terminal, I exit the Terminal and it is no longer there. Can anyone explain to me how I go about saving this so it remains permanently part of the PATH. The reason why I'm asking about this is I am trying to install OpenMotif and it is asking me to add the lib path to the DYLD LIBRARYPATH envi.,, I have no idea what this is. Any help would be greratly appreciated.
Best Regards,
freesparks
Mac Book Pro, Mac OS X (10.6.1), Mac Book Pro 3.06 @ 4GB 128 SSD