From a640169676c0b26d0c34aaf5fe766b773e654532 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 27 Apr 2013 12:08:31 -0500 Subject: [PATCH] .bash_profile: Use rbenv instead of rvm --- .bash_profile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.bash_profile b/.bash_profile index 0b6071a..a4e1782 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ if [ "$UNAME" = "Cygwin" ]; then fi # keychain -keychain="$(type -P keychain)" +keychain=$(type -P keychain) test -n "$keychain" && { if [ -f ~/.ssh/id_rsa ]; then eval `$keychain -q ~/.ssh/id_rsa` @@ -20,5 +20,7 @@ test -n "$keychain" && { } unset keychain -# Load RVM function -[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" +# rbenv +rbenv=$(type -P rbenv) +test -n "$rbenv" && eval "$(rbenv init -)" +unset rbenv -- 2.45.2