1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Fixed root prompt colours

This commit is contained in:
Michiel Scholten
2014-10-18 20:55:53 +02:00
parent 5f857124de
commit edaf3c37df

View File

@@ -78,7 +78,7 @@ if [ "$color_prompt" = yes ]; then
RED="\[\033[0;31m\]" RED="\[\033[0;31m\]"
PROMPT_SYMBOL='$' PROMPT_SYMBOL='$'
if [ $USER = 'root' ]; then if [ $USER = 'root' ]; then
PS1="$RED\t $GREEN\u$BLACK@\h:\W$ " PS1="$YELLOW\t $RED\u$BLACK@\h:\W$ "
elif [ -e ~/.dot_is_server ]; then elif [ -e ~/.dot_is_server ]; then
PS1="$YELLOW\t $GREEN\u$BLACK@\h:\W$ " PS1="$YELLOW\t $GREEN\u$BLACK@\h:\W$ "
else else