In OS X how do I add an environment variable which loads at startup time?

1

In OS X how do I add an environment variable which loads at startup time?

Yazz.com

Posted 2010-02-21T11:39:44.867

Reputation: 2 813

Answers

2

You can edit the file at /etc/rc.common

Add a line like the following:

export NEWVARIABLE="my new environment variable"

Kousha

Posted 2010-02-21T11:39:44.867

Reputation: 274