From b0fbe2521a1c4841474e5cb3da810d692e2d748f Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 2 May 2023 10:28:46 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebasics.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basics.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\] '