![]() # grep -E "^setenv" /etc/nf | xargs -t -L 1 launchctl ![]() # NOTE: You will still need to restart the relevant application (including # environment variables globally without needing to reboot. # After editing this file run the following command from the terminal to update # (and Terminal), including those launched via Spotlight. ![]() Put contents like the following into the file # Set environment variables here so they are available globally to all apps Type sudo vi /etc/nf (note: this file might not yet exist) Please note that ist does not work for applications launched via Spotlight. ![]() I've done extensive research and if you want to set variables that are available in all GUI applications, your only option is /etc/nf.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |