[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About PATH environment variable on OSX
From: |
Harald Hanche-Olsen |
Subject: |
Re: About PATH environment variable on OSX |
Date: |
Fri, 12 Apr 2013 17:01:53 +0200 (CEST) |
[Jan Djärv <address@hidden> (2013-04-12 05:05:19 UTC)]
> The way to this on newer OSX is to create /etc/launchd.conf and put something
> like:
>
> setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
>
> in there. I have not tried this myself.
>
> I will test it and fix the documentation.
I think it's better to use /etc/launchd-user.conf instead. This will set PATH
for all users. If you use /etc/launchd.conf, you are potentially setting the
PATH variable for a whole host of system processes, and this could cause
unwanted side effects.
- Harald
Re: About PATH environment variable on OSX, Josh, 2013/04/13