diff --git a/.bash_profile b/.bash_profile index 55136b9..9bbe2b2 100644 --- a/.bash_profile +++ b/.bash_profile @@ -6,3 +6,12 @@ if [ -f ~/.bashrc ]; then fi # User specific environment and startup programs + +# Load RVM into a shell session *as a function* +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" + +# Load rbenv into a shell session +if [[ -d "$HOME/.rbenv/bin" ]]; then + export PATH="$HOME/.rbenv/bin:$PATH" + eval "$(rbenv init -)" +fi diff --git a/.bashrc b/.bashrc index 23b0cd3..815e5f7 100644 --- a/.bashrc +++ b/.bashrc @@ -47,12 +47,3 @@ alias torrent="$BIT_TORRENT_CLIENT" alias phpi="$RUBY_SHELL" alias rbi="$RUBY_SHELL" alias js="$JS_SHELL" - -# Load RVM into a shell session *as a function* -[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" - -# Load rbenv into a shell session -if [[ -d "$HOME/.rbenv/bin" ]]; then - export PATH="$HOME/.rbenv/bin:$PATH" - eval "$(rbenv init -)" -fi