|
|
@ -665,7 +665,7 @@ prompt_user() {
|
|
|
|
"FOREGROUND_COLOR" "yellow"
|
|
|
|
"FOREGROUND_COLOR" "yellow"
|
|
|
|
"VISUAL_IDENTIFIER" "ROOT_ICON"
|
|
|
|
"VISUAL_IDENTIFIER" "ROOT_ICON"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
elif sudo -n true 2>/dev/null; then
|
|
|
|
elif [[ -n "$SUDO_COMMAND" ]]; then
|
|
|
|
user_state=(
|
|
|
|
user_state=(
|
|
|
|
"STATE" "SUDO"
|
|
|
|
"STATE" "SUDO"
|
|
|
|
"CONTENT" "${POWERLEVEL9K_USER_TEMPLATE}"
|
|
|
|
"CONTENT" "${POWERLEVEL9K_USER_TEMPLATE}"
|
|
|
|