summaryrefslogtreecommitdiff
path: root/themes/flazz.zsh-theme
diff options
context:
space:
mode:
authorzghember <zghpku@gmail.com>2014-12-15 00:23:34 +0800
committerzghember <zghpku@gmail.com>2014-12-15 00:23:34 +0800
commit6fd0b73e9aba568640005798f737cd73ad0bfdf4 (patch)
tree22f3654e0c00ffd1cb9c3c05ca5d8bffa190cc1f /themes/flazz.zsh-theme
parent6f70d288cc4625142413227109bf1eeac7e2a180 (diff)
parent141c2e593401f245a9f9bb0799ada8bf14b677d7 (diff)
downloadzsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.tar.gz
zsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.tar.bz2
zsh-6fd0b73e9aba568640005798f737cd73ad0bfdf4.zip
Merge commit '141c2e593401f245a9f9bb0799ada8bf14b677d7'
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