Fix PS1 which cause of http://code.google.com/p/mintty/issues/detail?id=296
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 17 Oct 2011 22:30:59 +0300
changeset 228 b5a57a7abe40
parent 223 1ce3922d21e6
child 230 2c6542befc32
Fix PS1 which cause of http://code.google.com/p/mintty/issues/detail?id=296 (unescaped non-printable chars).
.bashrc
--- a/.bashrc	Fri Oct 07 18:28:32 2011 +0300
+++ b/.bashrc	Mon Oct 17 22:30:59 2011 +0300
@@ -14,7 +14,7 @@
 PS1='bash# '
 # Set magenta bold font.
 case "$TERM" in
-  xterm*) PS1='\[\033[31m\033[1m\]\h\033[35m\]+bash# \[\033[0m\]'
+  xterm*) PS1='\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]'
   ;;
 esac