wok annotate bash/stuff/example.bashrc @ rev 14420
ethumb: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 20:08:55 2013 +0200 (2013-04-23) |
parents | |
children | 67aa716192dd |
rev | line source |
---|---|
pankso@14 | 1 # /etc/bashrc: Bash system wide config file. |
pankso@14 | 2 # |
pankso@14 | 3 |
pankso@14 | 4 if [ "`id -u`" -eq 0 ]; then |
pankso@14 | 5 PS1='\u@\h:\w\# ' |
pankso@14 | 6 else |
pankso@14 | 7 PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ " |
pankso@14 | 8 fi |
pankso@14 | 9 |
pankso@14 | 10 export PS1 |