diff --git a/basics.yml b/basics.yml index f20eec5..daf6e19 100644 --- a/basics.yml +++ b/basics.yml @@ -342,7 +342,7 @@ marker: "# {mark} ANSIBLE MANAGED BLOCK" block: | if ${use_color} ; then - if [ ${EUID} = 0 ] ; then + if [ ${USER} = root ] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \w \$\[\033[00m\] ' else PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '