.bash_profile vs .bashrc

Mac OS X does always runs .bash_prfile intead of .bashrc 1. Simple test:

  • Added: “echo “.bash_profile” to .bash_profile

  • Added: “echo “.bashrc” to .bashrc

Starting iTerm gives the following output:

.bash_profile
.bashrc

Footnotes

  1. Bash profile