Re: How to change shell valluables
Re: How to change shell valluables
- Subject: Re: How to change shell valluables
- From: Doug McNutt <email@hidden>
- Date: Tue, 28 Dec 2004 10:38:44 -0700
At 16:58 +0900 12/28/04, ??? ?? wrote:
>prompt: > set PATH=$PATH:/usr/local/bin
>PATH=/bin:/sbin:/usr/bin:/usr/sbin
It sounds like tcsh.
setenv PATH $PATH:/usr/ocal/bin (untested)
You have to export the variable because it is an "environment" variable. All upper case letters for environment variables is customary. There is also "path" which is special.
And watch out for /etc/csh..login which, if executed, may override your settings. Panther may have made some changes in that area and it's not so clear just what causes the login to be executed. It certainly has nothing to do with login to the OS neXt computer.
$HOME/.MacOSX/environment.plist
is a file and directory you can prepare which can set your PATH in a truly global way so that it sticks.
Googling for environment.plist site:apple.com
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Concepts/EnvironmentVars.html>
--
--> If you are presented a number as a percentage, and you do not clearly understand the numerator and the denominator involved, you are surely being lied to. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden