.ackrc: Don't need to customize type=css anymore
[dotfiles.git] / .bash_profile
index d963b4c8a786d3ed6dcc380e0b85f2121c081238..a4e1782870f14d1e8df46076580cd5fdd945e0ca 100644 (file)
@@ -5,8 +5,13 @@ if [ -f ~/.bashrc ]; then
   source ~/.bashrc
 fi
 
+# Set mintty color-palette
+if [ "$UNAME" = "Cygwin" ]; then
+  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`
@@ -15,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