I KNOW this question it's kind of a duplication, but I think my problem is a bit different than the other questions I found here.
If I echo $PATH, I can see the usual string with several paths. Ok. But I cannot find where they are really written (at least no all):
/private/etc/profile:
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
/private/etc/paths:(there are some but not all I can see from the echo!!!)
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
~/.bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
~/.bashrc
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
And I currently don't have any ~/.profile file.
I'm not a unix expert at all. I cannot understand where all the paths come from and so where's the best place to add or modify.
Can you suggest me something? :)