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:
2
.bashrc
2
.bashrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user