Re: X PATH variable
Re: X PATH variable
- Subject: Re: X PATH variable
- From: Justin Walker <email@hidden>
- Date: Wed, 15 Jan 2003 14:04:56 -0800
On Wednesday, Jan 15, 2003, at 13:21 US/Pacific, Doug McNutt wrote:
At 20:09 +0100 1/15/03, Martin Costabel wrote:
There is the ~/.MacOSX/environment.plist that can be used, but it
will give the same environment variables to *all* applications which
can pose problems.
Not quite. Terminal, when executed in login mode executes /etc/.login
which overlays whatever $PATH you have set up in the .plist.
I don't think Terminal reads that file (in fact, I don't think there is
such a file). I believe that the shell that Terminal invokes for each
window will read its own startup files, as specified in the individual
man pages.
If Terminal does read the .plist and sets up PATH, you can (I think)
modify the PATH variable instead of redefining it, to avoid losing the
effect of the .plist. That may require changing some system-wide
startup files, of course.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Some people have a got a mental
| horizon of radius zero, and
call
| it their point of view
| -- David Hilbert
*--------------------------------------*-------------------------------*
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.