- ~/.profile, ~/.bashrc, (~/.cshrc, ~/.tcshrc) - depending on what shell you're running
- ~/.MacOSX/environment.plist - More for GUI stuff
- /etc/launchd.conf - used globally by launchd (can be set per process using launchctl setenv)
- /etc/paths - just for setting the PATH
This comment has been removed by the author.
ReplyDeleteSure - though that'll only persist for that Terminal session. The posting is about configuring persistent environment variables across sessions.
ReplyDelete