In OS X how do I add an environment variable which loads at startup time?
You can edit the file at /etc/rc.common
Add a line like the following:
export NEWVARIABLE="my new environment variable"
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago