Skip to content

Instantly share code, notes, and snippets.

@sprig
Forked from mcandre/mac-app-fix-path.md
Created February 26, 2014 19:52
Show Gist options
  • Save sprig/9237114 to your computer and use it in GitHub Desktop.
Save sprig/9237114 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