I'd like to append to the global PATH environment variable on OS X so that all user shells and GUI applications get the same PATH environment.
I know I can append to the path in shell startup scripts, but those settings are not inherited by GUI applications.
The only way I found so far is to redefine the PATH environment variable in /etc/launchd.conf:
setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/my/path
I couldn't figure out a way to actually append to PATH in
I'm a bit worried about this method, but so far this is the only thing that works. Is there a better way?