I'm on a Mac, but this seems like a UNIX/Linux question. I just installed Postgres.app, and the documentation says to add the /bin
directory that ships with Postgres.app to your PATH
by adding the following line to .bashrc
, it'll get set for every terminal session:
PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
Should I be export
ing that, or just keep it as is?
dir:$PATH
versus$PATH:dir
, while this question is aboutexport PATH=
versusPATH=
. Still a duplicate of another question though. -edit- only now I see this question is much older – Bernhard Jun 22 '14 at 12:09export
, but first read: http://unix.stackexchange.com/questions/124444/how-can-i-cleanly-add-to-path – goldilocks Jun 22 '14 at 15:54