如何使用.bash_profile为OS X Mavericks中的GUI应用程序设置环境变量?


0

我知道对于GUI应用程序,您需要在/etc/launchd.conf下设置变量。但是我已经在.bash_profile中设置了我的环境变量,并且我不想维护2套环境变量。

有没有一种方法可以从.bash_profile中设置的现有变量中为GUI应用程序设置环境变量?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.