Enable color prompt for tmux/screen.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 Aug 2015 13:40:34 +0300
changeset 744 0b0e46afeb9b
parent 743 8f5b793e320a
child 745 65070eb4aabb
Enable color prompt for tmux/screen.
.bashrc
--- a/.bashrc	Mon Aug 03 13:35:56 2015 +0300
+++ b/.bashrc	Mon Aug 03 13:40:34 2015 +0300
@@ -12,7 +12,7 @@
 PS1='\nbash# '
 PS2='> '
 case "$TERM" in
-  xterm*|eterm-color)
+  xterm*|eterm-color|screen)
     PS1='\n\033[36m================================================================\r\033[31m\u\033[35m@\h\033[0m\033[36m \w \n\[\033[1m\033[31m\]bash#\[\033[0m\] '
     PS2='\[\033[32m\]> \[\033[0m\]'
   ;;