I'm new to using Mac OS X. From my understanding, it uses Linux under the covers. I have a need to add an environment variable. Currently, whenever I start a terminal window, I've been executing
export MY_ENVIRONMENT_VARIABLE=enabled. I would like to automatically do this, system wide, when the machine starts.
How do I do that on Mac OS X? I tried adding the above line to
~/.bashrc via nano without any luck. How should I set this environment variable?