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 2111576c3..11f6af127 100644
--- a/themes/sunrise.zsh-theme
+++ b/themes/sunrise.zsh-theme
@@ -9,7 +9,7 @@ Y=$fg_no_bold[yellow]
B=$fg_no_bold[blue]
RESET=$reset_color
-if [ "$USER" = "root" ]; then
+if [ "$USERNAME" = "root" ]; then
PROMPTCOLOR="%{$R%}" PROMPTPREFIX="-!-";
else
PROMPTCOLOR="" PROMPTPREFIX="---";