mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
do not specify command color
This commit is contained in:
parent
a5e962aca8
commit
09f8636005
1 changed files with 2 additions and 2 deletions
|
|
@ -15,10 +15,10 @@ eval PR_USER='${PR_CYAN}%n${PR_NO_COLOR}'
|
|||
|
||||
# Check the UID
|
||||
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'
|
||||
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'
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue