Although this question is being answered many times, I could not find any help from previous posts, so here it is again.
I have tried to add a new route to PATH variable with no success.
I have added the following command:
to this files one at a time: ~/.profile, ~/.bash_profile, ~/.bashrc
After starting a new Terminal session I type
but the PATH variable never show the changes.
Seems that none of this files are being read when opening terminal, other routes where in this files and they are not being added either. On starting terminal I get this message "-bash: : command not found". If I execute
I get the route added to the PATH but it does not keep for the next Terminal session. How can I test what is happening on Terminal startup?
This are the contents of the files:
export PATH=/applications/MAMP/bin/php5.3/bin/:$PATH export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH export PATH=/usr/local/zend/share/ZendFramework/bin:$PATH
export PATH=$PATH:/usr/local/zend/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib
~/.bash_profile is empty
None of the routes in any of them are displayed after typing