summaryrefslogtreecommitdiff
path: root/themes/sunrise.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sunrise.zsh-theme')
-rw-r--r--themes/sunrise.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme
index 4bea20a1b..28befd01b 100644
--- a/themes/sunrise.zsh-theme
+++ b/themes/sunrise.zsh-theme
@@ -10,7 +10,7 @@ Y=$fg_no_bold[yellow]
B=$fg_no_bold[blue]
RESET=$reset_color
-if [ "$(whoami)" = "root" ]; then
+if [ "$USER" = "root" ]; then
PROMPTCOLOR="%{$R%}" PREFIX="-!-";
else
PROMPTCOLOR="" PREFIX="---";