source ~/.bashrc
fi
+# Set mintty color-palette
+if [ "$UNAME" = "Cygwin" ]; then
+ source ~/.mintty/colors/solarized-ansi.sh
+fi
+
# keychain
-keychain="$(type -P keychain)"
-test -n "$keychain" && {
+keychain=$(type -P keychain)
+test -n "$keychain" && \
+ test -z "$SUDO_USER" && {
if [ -f ~/.ssh/id_rsa ]; then
eval `$keychain -q ~/.ssh/id_rsa`
source ~/.keychain/`hostname`-sh > /dev/null