summaryrefslogtreecommitdiff
path: root/themes/obraun.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/obraun.zsh-theme')
-rw-r--r--themes/obraun.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/obraun.zsh-theme b/themes/obraun.zsh-theme
index 7af44056f..cc2769e4b 100644
--- a/themes/obraun.zsh-theme
+++ b/themes/obraun.zsh-theme
@@ -1,4 +1,4 @@
-if [ "$USER" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
+if [ "$USERNAME" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"