This question already has an answer here:
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
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
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?