.bashrc
changeset 949 2e7205b69973
parent 946 6ac846c89561
child 951 0f401364a9aa
--- a/.bashrc	Sat Nov 21 19:39:44 2020 +0200
+++ b/.bashrc	Sat Nov 21 19:40:47 2020 +0200
@@ -33,14 +33,14 @@
 PS2='> '
 
 case "$TERM" in
-  xterm*|eterm-color|screen|linux|cygwin)
+  xterm*|eterm-color|screen|linux|mintty*|cygwin)
     PS1=$'\n\e[34m\e[1m${_my_ruler}\r$?|\e[31m\u\e[35m@\h\e[0m\e[36m \w \n\[\e[1m\e[31m\]bash#\[\e[0m\] '
     PS2=$'\[\e[32m\]> \[\e[0m\]'
   ;;
 esac
 # Set current directory in terminal emulator title.
 case "$TERM" in
-  xterm*|screen|linux|cygwin)
+  xterm*|screen|linux|mintty*|cygwin)
     PS1=$'\e]0;bash \u@\h \w\a'"$PS1"
   ;;
 esac