Fix whoami command for prompt sign

This commit is contained in:
Philipp Frischmuth 2012-08-23 16:05:46 +02:00
parent 53e79d6fdd
commit 58c32b5e38
No known key found for this signature in database
GPG key ID: 963CC190454A2EBF

View file

@ -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