Skip to content

Instantly share code, notes, and snippets.

@Pitometsu
Forked from mcandre/mac-app-fix-path.md
Created April 14, 2017 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pitometsu/c3c91bdf075b403f4d53e1ddc450e6fd to your computer and use it in GitHub Desktop.
Save Pitometsu/c3c91bdf075b403f4d53e1ddc450e6fd 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