Laptop hostname for root

This commit is contained in:
Thomas Forgione 2023-08-29 09:21:24 +02:00
parent 886d381269
commit bec76bff3b
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if [[ $UID -ge 1000 ]]; then # normal user
local PR_ARROW_DOWN='$PR_MAGENTA└${PR_NO_COLOR}'
fi
elif [[ $UID -eq 0 ]]; then # root
eval PR_USER='${PR_RED}%n${PR_NO_COLOR}'
eval PR_USER='${PR_RED}%n${PR_YELLOW}@${PR_GREEN}%M${PR_NO_COLOR}'
eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}'
local PR_ARROW_UP='${PR_RED}┌── ${PR_NO_COLOR}'
local PR_ARROW_DOWN='${PR_RED}└${PR_NO_COLOR}'