Skip to content

Instantly share code, notes, and snippets.

@thiagofm
Forked from mcandre/mac-app-fix-path.md
Last active September 21, 2015 14:26
Show Gist options
  • Save thiagofm/7912cd38a2e9bb35406f to your computer and use it in GitHub Desktop.
Save thiagofm/7912cd38a2e9bb35406f to your computer and use it in GitHub Desktop.

How to inform Eclipse and other Mac applications of the command line PATH

  1. Update Mac OS X's notion of PATH.
$ defaults write ~/.MacOSX/environment PATH "`echo $PATH`"
$ echo "setenv PATH $PATH" | sudo tee /etc/launchd.conf
  1. Restart Mac OS X.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment