Skip to content

Instantly share code, notes, and snippets.

@jij
Last active August 29, 2015 14:16
Show Gist options
  • Save jij/301375ab6b2e7917191e to your computer and use it in GitHub Desktop.
Save jij/301375ab6b2e7917191e to your computer and use it in GitHub Desktop.
setenv path for mac
launchctl setenv
/etc/launchd.conf
/etc/profile (system wide profile, exist, calls paths and paths.d, bashrc for shell)
/etc/paths (in use)
/etc/paths.d/* (in use)
/etc/bashrc (in use)
~/.profile (currently empty)
~/.bash_profile (in use for login shell - Mac alway lunch login shell for new window) -- being used by me
~/.bashrc (not exists, use for non login shell)
~/.MacOSX/environment.plist (exists, possibly not in use)
~/Library/Preferences/.MacOSX/environment.plist (doesn't exist, possibly not in use)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment