Adtivated TERM=mintty for mintty as Gradle now supports it natively (as of v5.2).
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Nov 2020 19:40:47 +0200
changeset 949 2e7205b69973
parent 948 9d4c25b94a61
child 950 efc28cae2634
Adtivated TERM=mintty for mintty as Gradle now supports it natively (as of v5.2).
.bashrc
.minttyrc
--- 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
--- a/.minttyrc	Sat Nov 21 19:39:44 2020 +0200
+++ b/.minttyrc	Sat Nov 21 19:40:47 2020 +0200
@@ -74,7 +74,7 @@
 
 BellSound=no
 
-Term=xterm-256color
+Term=mintty
 Answerback=
 
 # -w max