wok view bash/stuff/example.bashrc @ rev 19154
Up libdrm (2.4.68), xorg-xf86-video-nouveau (1.0.12)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon May 23 23:56:45 2016 +0300 (2016-05-23) |
parents | 9496fd66a54a |
children |
line source
1 # /etc/bashrc: Bash system wide config file.
2 #
4 if [ "`id -u`" -eq 0 ]; then
5 # Simple prompt
6 #PS1='\u@\h:\w # '
8 # Colored prompt
9 PS1="\[\e[31;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] # "
10 else
11 # Simple prompt
12 #PS1='\u@\h:\w $ '
14 # Colored prompt
15 PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ "
16 fi
18 export PS1