From http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html and man bash
/bin/bash
The bash executable
/etc/profile
The systemwide initialization file, executed for login shells
~/.bash_profile (read .profile for compatibility with sh, if .bash_profile does not exist)
The personal initialization file, executed for login shells (terminal is a login shell in Mac)
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed when a login shell exits
~/.inputrc
Individual readline initialization file
No comments:
Post a Comment