.vimrc: Cleanup mappings section
[dotfiles.git] / .bash_profile
index 1947c3b0b2291040dde1ddfb955c0bbef8eff580..a4e1782870f14d1e8df46076580cd5fdd945e0ca 100644 (file)
@@ -7,11 +7,11 @@ fi
 
 # Set mintty color-palette
 if [ "$UNAME" = "Cygwin" ]; then
-  source ~/.mintty/colors/solarized-alt.sh
+  source ~/.mintty/colors/solarized-ansi.sh
 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