wok diff bash/stuff/example.bashrc @ rev 12094

nanochess: add swap button
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 22:40:26 2012 +0100 (2012-03-10)
parents
children 67aa716192dd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bash/stuff/example.bashrc	Sat Mar 10 22:40:26 2012 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +# /etc/bashrc: Bash system wide config file.
     1.5 +#
     1.6 +
     1.7 +if [ "`id -u`" -eq 0 ]; then
     1.8 +	PS1='\u@\h:\w\# '
     1.9 +else
    1.10 +	PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ "
    1.11 +fi
    1.12 +
    1.13 +export PS1