wok view bash/stuff/example.bashrc @ rev 4506

linux/boot: fix cmdline tail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 23 11:01:54 2009 +0100 (2009-11-23)
parents
children 67aa716192dd
line source
1 # /etc/bashrc: Bash system wide config file.
2 #
4 if [ "`id -u`" -eq 0 ]; then
5 PS1='\u@\h:\w\# '
6 else
7 PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ "
8 fi
10 export PS1