Sunday, September 15, 2013

Mac OS X environment variable $PATH

Mac OS X environment variable $PATH

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.

No comments:

Post a Comment