Move rvm to last position to avoid warning about PATH.
This commit is contained in:
@@ -5,10 +5,12 @@ alias "update=(cd ~/git; make all)"
|
||||
[[ -s "$HOME/.nvm/nvm.sh" ]] && source "$HOME/.nvm/nvm.sh"
|
||||
[[ -s "$HOME/perl5/perlbrew/etc/bashrc" ]] && source "$HOME/perl5/perlbrew/etc/bashrc"
|
||||
[[ -s "$HOME/.phpbrew/bashrc" ]] && source "$HOME/.phpbrew/bashrc"
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
#
|
||||
export PYENV_ROOT="${HOME}/.pyenv"
|
||||
if [ -d "${PYENV_ROOT}" ]; then
|
||||
export PATH="${PYENV_ROOT}/bin:${PYENV_ROOT}/shims:${PATH}"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
#
|
||||
# Put rvm at last position.
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
|
||||
Reference in New Issue
Block a user