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

slitaz-hacker-wiki: add wikiss icon
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 06 15:00:52 2008 +0200 (2008-05-06)
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