commit e1aec059375a5d972777debc0735745751ad63d8
parent 53079b213d1768ad3e1fa24e0de53ed1c9a09997
Author: Daniel Moch <daniel@danielmoch.com>
Date: Thu, 10 May 2018 22:32:12 -0400
Treat cygwin as basic terminal
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -12,7 +12,7 @@ GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
source "$HOME/.local/lib/sh/git-prompt.sh"
-if [ $TERM = linux ]
+if [ $TERM = linux ] && [ $TERM = cygwin ]
then
usercolor='\[\033[01;34m\]'
else
diff --git a/.zshrc b/.zshrc
@@ -22,7 +22,7 @@ source "$HOME/.local/lib/sh/git-prompt.sh"
autoload -Uz colors && colors
-if [ $TERM = linux ]
+if [ $TERM = linux ] && [ $TERM = cygwin ]
then
usercolor="$fg_bold[blue]"
else