From 078f98413bc6bf80c11365e4a94d247f5ba52072 Mon Sep 17 00:00:00 2001 From: Doncho Gunchev Date: Wed, 21 Oct 2015 22:22:12 +0300 Subject: [PATCH] Change terminal prompt color to green. --- bash/ps-twtty-7.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bash/ps-twtty-7.sh b/bash/ps-twtty-7.sh index eab3d1e..597adeb 100755 --- a/bash/ps-twtty-7.sh +++ b/bash/ps-twtty-7.sh @@ -108,10 +108,13 @@ function twtty { local RED="\[\033[0;31m\]" local LIGHT_RED="\[\033[1;31m\]" + local GREEN="\[\033[0;32m\]" + local LIGHT_GREEN="\[\033[1;32m\]" + if [ "${UID}" -ne "0" ]; then # Normal user colors - local C1="${YELLOW}" - local C2="${LIGHT_BLUE}" + local C1="${GREEN}" + local C2="${LIGHT_GREEN}" local C3="${WHITE}" else # root user colors