Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active April 12, 2021 18:43
Show Gist options
  • Save mcandre/7235205 to your computer and use it in GitHub Desktop.
Save mcandre/7235205 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