mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
prompt colors update
This commit is contained in:
parent
09f8636005
commit
d1191418f6
1 changed files with 3 additions and 3 deletions
|
|
@ -15,10 +15,10 @@ eval PR_USER='${PR_CYAN}%n${PR_NO_COLOR}'
|
||||||
|
|
||||||
# Check the UID
|
# Check the UID
|
||||||
if [[ $UID -ge 10 ]]; then # normal user
|
if [[ $UID -ge 10 ]]; then # normal user
|
||||||
# eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}'
|
eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}'
|
||||||
local PR_PROMPT='$PR_NO_COLOR%%$PR_NO_COLOR'
|
local PR_PROMPT='$PR_GREEN%%$PR_NO_COLOR'
|
||||||
elif [[ $UID -eq 0 ]]; then # root
|
elif [[ $UID -eq 0 ]]; then # root
|
||||||
# eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}'
|
eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}'
|
||||||
local PR_PROMPT='$PR_RED#$PR_NO_COLOR'
|
local PR_PROMPT='$PR_RED#$PR_NO_COLOR'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue