I'm running Mountain Lion 10.8.4, and have my environment all customized through
~/.profile so that when I run GUI apps like Sublime Text or Eclipse from the command line
open /Applications/Sublime\ Text\ 2.app
they inherit my
$PATH settings, allowing the app to run external commands not in OSX's very limited default path. However, I'd really like to be able to open programs through Finder or the Dock and give them the same path I use on the command line.
launchctl setenv PATH $PATH doesn't work in 10.8. How do I set this up?