I'd like to append to the global PATH 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 coulnd't figure out a way to actually append to PATH in launchd.conf.
I'm a bit worried about this method, but so far this is the only thing that works. Does anyone know of a better way?