I\'m a Linux user that just recently got a mac. I\'m trying to set up my IDE and found out that Macs don\'t use .bashrc / .bash_profile / etc. for GUI apps. So, if you have
On 10.8.2 the following command works fine:
$ launchctl setenv MY_VARIABLE My\ value\ with\ spaces
Verify with:
$ launchctl getenv MY_VARIABLE My value with spaces