【问题标题】:mac os x system variables for gui applications (finder, xcode, etc.)用于 gui 应用程序(finder、xcode 等)的 mac os x 系统变量
【发布时间】:2016-06-28 21:46:23
【问题描述】:

我想在重新启动计算机后为 GUI pallications(Finder、Xcode 等)设置系统变量。 我可以为 bash 做这件事(将“export VAR=/path/”写入文件 ~/.profile,重启后所有 bash 终端都有这些变量),但是重启计算机后所有 GUI 应用程序的变量都有一些问题。
我是为 MAC OS X 10.10 Yosemite 做的。 谢谢!

【问题讨论】:

标签: xcode macos variables system


【解决方案1】:

我通过将字符串 export sys_var=<path> 添加到 ~/.profile 文件解决了我的问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-01-08
    • 1970-01-01
    • 2011-03-09
    • 1970-01-01
    • 2012-06-18
    • 1970-01-01
    • 2012-06-30
    • 2015-09-11
    相关资源
    最近更新 更多