Fix whoami command for prompt sign
This commit is contained in:
parent
53e79d6fdd
commit
58c32b5e38
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ function promptSetup () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# rootshell gets another prompt sign
|
# rootshell gets another prompt sign
|
||||||
CURRENT_USER=whoami
|
CURRENT_USER=`whoami`
|
||||||
PR_SIGN=$NOCOLOR
|
PR_SIGN=$NOCOLOR
|
||||||
PR_SIGN+="%F{160}%B"
|
PR_SIGN+="%F{160}%B"
|
||||||
if [[ $CURRENT_USER == 'root' ]]; then
|
if [[ $CURRENT_USER == 'root' ]]; then
|
||||||
|
|
Loading…
Reference in a new issue