From 30ad4ce953c67990faf8a42fe25915c75620c9df Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Thu, 19 Oct 2017 00:30:41 +0800 Subject: [PATCH] Sync with .zshrc.local. --- .bashrc.local | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.bashrc.local b/.bashrc.local index 7ee1ef4..45be3d6 100644 --- a/.bashrc.local +++ b/.bashrc.local @@ -1,9 +1,9 @@ # alias update="(cd ~/git; make all)" # -[[ -s "$HOME/.phpbrew/bashrc" ]] && source "$HOME/.phpbrew/bashrc" -[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" +[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm" [[ -s "$HOME/perl5/perlbrew/etc/bashrc" ]] && source "$HOME/perl5/perlbrew/etc/bashrc" +[[ -s "$HOME/.phpbrew/bashrc" ]] && source "$HOME/.phpbrew/bashrc" [[ -s "$HOME/.cargo/env" ]] && source "$HOME/.cargo/env" # export PYENV_ROOT="${HOME}/.pyenv" @@ -11,3 +11,6 @@ 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"