mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge c4bb9cd6d6 into 3913106b2e
This commit is contained in:
commit
07319ece6c
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ eval PR_NO_COLOR="%{$terminfo[sgr0]%}"
|
||||||
eval PR_BOLD="%{$terminfo[bold]%}"
|
eval PR_BOLD="%{$terminfo[bold]%}"
|
||||||
|
|
||||||
# Check the UID
|
# Check the UID
|
||||||
if [[ $UID -ge 1000 ]]; then # normal user
|
if [[ $UID -ge 500 ]]; then # normal user
|
||||||
eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}'
|
eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}'
|
||||||
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_NO_COLOR➤ $PR_NO_COLOR'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue