Make last prompt line fixed width.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 Aug 2015 13:35:56 +0300
changeset 743 8f5b793e320a
parent 742 29c4dc2a482d
child 744 0b0e46afeb9b
Make last prompt line fixed width.
.bashrc
--- a/.bashrc	Mon Aug 03 13:23:22 2015 +0300
+++ b/.bashrc	Mon Aug 03 13:35:56 2015 +0300
@@ -13,7 +13,7 @@
 PS2='> '
 case "$TERM" in
   xterm*|eterm-color)
-    PS1='\n\033[36m================================================================\r\w \n\[\033[4m\033[31m\]\u\[\033[35m\]@\h#\[\033[0m\] '
+    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\]'
   ;;
 esac