$PATH is not updated

Posted by matr0sk1n on Super User See other posts from Super User or by matr0sk1n
Published on 2013-09-15T18:38:41Z Indexed on 2013/10/17 22:01 UTC
Read the original article Hit count: 347

Filed under:
|
|
|

It seems all about this was already discussed, but I can't resolve my problem. I have all necessary strings in /etc/paths

/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin

in ~/.bash_profile

export PATH=$PATH:/usr/local/mysql/bin
export PATH=$PATH:$HOME/.rvm/bin
export PATH="$(brew --prefix php54)/bin:$PATH"
export PATH="$(brew --prefix)/bin:$PATH"

But every time I execute

echo $PATH

in terminal, I get only

/usr/local/bin

if I put .bash_profile strings to .profile or .bashrc I have no effect.

© Super User or respective owner

Related posts about osx

Related posts about bash