summaryrefslogtreecommitdiff
path: root/themes/flazz.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/flazz.zsh-theme')
-rw-r--r--themes/flazz.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/flazz.zsh-theme b/themes/flazz.zsh-theme
index 280794f2b..c0a7fb5d0 100644
--- a/themes/flazz.zsh-theme
+++ b/themes/flazz.zsh-theme
@@ -1,4 +1,4 @@
-if [ "$(whoami)" = "root" ]
+if [ "$USER" = "root" ]
then CARETCOLOR="red"
else CARETCOLOR="blue"
fi