View Single Post
Old 05-27-2004, 12:51 PM   #2
Pie
Gone and done
 
Join Date: Sep 2001
Posts: 4,808
Re: Mac OSX question

Quote:
Originally posted by hot_pastrami
Does anybody happen to know how to set an environment variable in Mac OSX? It needs to be available for any program launched through the GUI.
I don't know about GUI availability, but setting variables happens thusly in a csh/tcsh (& bash?) environment:

setenv VARIABLENAME variablevalue

eg, "setenv COLORTERM linux"

You can find out more by typing "man setenv" at a command prompt.

If you add this declaration to your .tcshrc or .cshrc file, this variable will be set for you every time you log in.


HTH,
- Pie
__________________
per·son \ˈpər-sən\ (noun) - an ephemeral collection of small, irrational decisions
The fun thing about evolution (and science in general) is that it happens whether you believe in it or not.
Pie is offline   Reply With Quote