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 Email and Password
5 years ago