„basics.yml“ ändern

This commit is contained in:
olli 2023-05-02 10:28:46 +02:00
parent 3826817f4e
commit b0fbe2521a

View File

@ -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\] '