• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X PATH variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: X PATH variable
      • From: Joel Hacker <email@hidden>
    • Re: X PATH variable
      • From: Eugene Lee <email@hidden>
References: 
 >Re: X PATH variable (From: Doug McNutt <email@hidden>)

  • Prev by Date: Firewall rule for X11 usage
  • Next by Date: X11-users Archives available
  • Previous by thread: Re: X PATH variable
  • Next by thread: Re: X PATH variable
  • Index(es):
    • Date
    • Thread