From 9c2797fb3c95dbdafd8af5feee7fed92e97f744f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 27 Jan 2013 11:24:46 +0100 Subject: [PATCH] rvm stuff --- bash_profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index 7432c22..9c9ebaa 100644 --- a/bash_profile +++ b/bash_profile @@ -1,7 +1,7 @@ ######################################################################## # bash_profile, basically from the whole internet # and a lot from @necolas, @mathiasbynens & @rtomayko -# +# # https://github.com/mathiasbynens/dotfiles # https://github.com/necolas/dotfiles # https://github.com/rtomayko/dotfiles @@ -46,6 +46,9 @@ ANDROID_HOME="/usr/local/Cellar/android-sdk/r21" [ -d "/usr/local/mysql/bin" ] && PATH="/usr/local/mysql/bin:$PATH"; [ -d "/usr/local/share/npm/bin" ] && PATH="/usr/local/share/npm/bin:$PATH"; +[ -d "$HOME/.rvm/bin" ] && PATH="$HOME/.rvm/bin:$PATH"; # Add RVM to PATH for scripting +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* + export PATH # ----------------------------------------------------------------------