From 33186afd588f8d294307f647dd2b81f39c6eb0c9 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 23 Jan 2023 12:22:04 -0500 Subject: [PATCH] Auto Update --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 844131a..4d15b9b 100644 --- a/setup.sh +++ b/setup.sh @@ -13,19 +13,19 @@ cp .profile /root ln ./nanorc /etc/nanorc # changes PS1 prompts -SERV_COLOR="01;32m" +SERV_COLOR="32" source ./setenv.sh ## root PS1 RED="01;31m" cat << EOF >> /root/.PS1 -PS1='\[\033[$RED\]\u\[\033[$SERV_COLOR\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' +PS1='\[\033[$RED\]\u\[\033[01;"$SERV_COLOR"m\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' EOF ## user PS1 GREEN="01;32m" cat << EOF >> ../../.PS1 -PS1='\[\033[$GREEN\]\u\[\033[$SERV_COLOR\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' +PS1='\[\033[$GREEN\]\u\[\033[01;"$SERV_COLOR"m\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' EOF if [ -f ../../.env ] ; then