From 58c32b5e386318b99f9f4f5c7387ddaf6e038a35 Mon Sep 17 00:00:00 2001 From: Philipp Frischmuth Date: Thu, 23 Aug 2012 16:05:46 +0200 Subject: [PATCH] Fix whoami command for prompt sign --- prompt.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt.zsh b/prompt.zsh index e114cee..4fcc143 100644 --- a/prompt.zsh +++ b/prompt.zsh @@ -53,7 +53,7 @@ function promptSetup () { fi # rootshell gets another prompt sign - CURRENT_USER=whoami + CURRENT_USER=`whoami` PR_SIGN=$NOCOLOR PR_SIGN+="%F{160}%B" if [[ $CURRENT_USER == 'root' ]]; then