From bec76bff3ba5948faefdb7b2c16a37bce988407e Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 29 Aug 2023 09:21:24 +0200 Subject: [PATCH] Laptop hostname for root --- zsh/ohmyzsh/themes/laptop-hostname.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/ohmyzsh/themes/laptop-hostname.zsh-theme b/zsh/ohmyzsh/themes/laptop-hostname.zsh-theme index 1ada924..c91a166 100644 --- a/zsh/ohmyzsh/themes/laptop-hostname.zsh-theme +++ b/zsh/ohmyzsh/themes/laptop-hostname.zsh-theme @@ -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}'