.vim/bundle: Update vim bundle submodules
[dotfiles.git] / .bash_profile
index 4ce8d2abd83bf25f68d2e7403acb40f3d36fcd7f..a4e1782870f14d1e8df46076580cd5fdd945e0ca 100644 (file)
@@ -5,15 +5,13 @@ if [ -f ~/.bashrc ]; then
   source ~/.bashrc
 fi
 
-# Change ANSI colors to Solarized-style colors
+# Set mintty color-palette
 if [ "$UNAME" = "Cygwin" ]; then
-  if [ -f ~/.term_colorpalette ]; then
-    source ~/.term_colorpalette
-  fi
+  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`
@@ -22,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