Why does my path not get saved even after editing ~/.bashrc? I've added maven to my path, but it doesn't seem to be persisting to the path beyond the lifetime of the terminal application.  I've modified my ~/.bashrc, but it still isn't storing the modified path. 

Here is my ~/.bashrc:

export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
export PATH=$PATH:/Users/chris/Dev/Libraries/apache-maven-3.1.1/bin


And here is the result of echo $PATH:

chriss-macbook:~ chris$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin


Why isn't my modified path getting persisted between terminal sessions, and how can I solve that?
OS X Terminal does not source ~/.bashrc. Instead, it sources ~/.bash_profile. Either…


Put the lines that are in your ~/.bashrc in your ~/.bash_profile instead.
Source your ~/.bashrc in your ~/.bashprofile.

Add the following line to your ~/.bashprofile:

[[ -s ~/.bashrc ]] &amp;&amp; source ~/.bashrc