Search code examples
xcodemacosvariablessystem

mac os x system variables for gui applications (finder, xcode, etc.)


I want to set system variables for GUI pallications (Finder, Xcode, etc.) after reboot computer. I can to do it for bash(write "export VAR=/path/" to file ~/.profile, and after reboot all bash terminals has these variables), but I have some problems with variables for all GUI applications after reboot computer.
I do it for MAC OS X 10.10 Yosemite. Thanks!


Solution

  • I resolved my problem by adding the string export sys_var=<path> to the ~/.profile file.