wok-next annotate bash/stuff/example.bashrc @ rev 16900
libpng: sec. CVE-2011-3048 CVE-2012-3386 & MemLeak fixes,oth.. Up from 1.2.47 to 1.2.51
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Jul 15 02:56:01 2014 +0300 (2014-07-15) |
parents | 9496fd66a54a |
children |
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@15744 | 5 # Simple prompt |
pankso@15744 | 6 #PS1='\u@\h:\w # ' |
pankso@15744 | 7 |
pankso@15744 | 8 # Colored prompt |
pankso@15744 | 9 PS1="\[\e[31;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] # " |
pankso@14 | 10 else |
pankso@15744 | 11 # Simple prompt |
pankso@15744 | 12 #PS1='\u@\h:\w $ ' |
pankso@15744 | 13 |
pankso@15744 | 14 # Colored prompt |
pankso@14 | 15 PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ " |
pankso@14 | 16 fi |
pankso@14 | 17 |
pankso@14 | 18 export PS1 |