wok-current view bash/stuff/example.bashrc @ rev 4505

Up: firefox (3.5.5)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Nov 22 17:34:55 2009 +0100 (2009-11-22)
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