# HG changeset patch # User Christophe Lincoln # Date 1388681887 -3600 # Node ID 67aa716192dd14ffd4e1d3c59c8631c7a94570f7 # Parent a1084fda7f235a60ddb7d0e0d4ca7627a3a8b7ea bash: fix default /etc/bashrc diff -r a1084fda7f23 -r 67aa716192dd bash/stuff/example.bashrc --- a/bash/stuff/example.bashrc Thu Jan 02 15:04:05 2014 +0100 +++ b/bash/stuff/example.bashrc Thu Jan 02 17:58:07 2014 +0100 @@ -2,8 +2,16 @@ # if [ "`id -u`" -eq 0 ]; then - PS1='\u@\h:\w\# ' + # Simple prompt + #PS1='\u@\h:\w # ' + + # Colored prompt + PS1="\[\e[31;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] # " else + # Simple prompt + #PS1='\u@\h:\w $ ' + + # Colored prompt PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ " fi