Show current user as this useful then ssh'ing.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 Aug 2015 13:23:22 +0300
changeset 742 29c4dc2a482d
parent 741 4d4604fbea17
child 743 8f5b793e320a
Show current user as this useful then ssh'ing.
.bashrc
--- a/.bashrc	Wed Jun 17 20:40:11 2015 -0500
+++ b/.bashrc	Mon Aug 03 13:23:22 2015 +0300
@@ -13,7 +13,7 @@
 PS2='> '
 case "$TERM" in
   xterm*|eterm-color)
-    PS1='\n\033[36m================================================================\r\w \n\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]'
+    PS1='\n\033[36m================================================================\r\w \n\[\033[4m\033[31m\]\u\[\033[35m\]@\h#\[\033[0m\] '
     PS2='\[\033[32m\]> \[\033[0m\]'
   ;;
 esac