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

Up: slitaz-boot-scripts (3.4)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 00:44:34 2010 +0100 (2010-03-28)
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