Added support for ConEmu.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 May 2017 17:31:12 +0300
changeset 860 ddc40e485d91
parent 859 fc85d7cf3ce6
child 861 4d8e47e0ee00
Added support for ConEmu.
.bashrc
--- a/.bashrc	Sun Apr 30 00:27:31 2017 +0300
+++ b/.bashrc	Mon May 22 17:31:12 2017 +0300
@@ -13,14 +13,14 @@
 PS2='> '
 
 case "$TERM" in
-  xterm*|eterm-color|screen|linux)
+  xterm*|eterm-color|screen|linux|cygwin)
     PS1=$'\n\e[36m==============================================================================\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)
+  xterm*|screen|linux|cygwin)
     PS1=$'\e]0;bash \w\a'"$PS1"
   ;;
 esac