On Feb 19, 2013, at 12:29 AM, Gerd Knops gerti-textmate@bitart.com wrote:
[…] Starting with 10.6 or 10.7 OS X no longer reads ~/.MacOSX/environment.plist The only way to set variables for all your applications is by editing /etc/launchd.conf […]
Supposedly /etc/paths.d/ works for this too, have not had time to look into it yet though. That would allow to set paths without modifying a config file maintained by who know who or what.
See ‘man path_helper’ for details about this system — it’s only for the PATH and MANPATH variables and require the shell runs the path_helper executable (and interprets the result, which will be “a shell script”).