From 161e84c57cea54d416ded8cc893be6d654702141 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 15 Mar 2025 10:26:28 +0100 Subject: + SunOS in prompt colours (colouring taken from 2005-age_of_oracle) --- .bash/prompt.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.bash/prompt.bash') diff --git a/.bash/prompt.bash b/.bash/prompt.bash index 31a6f49..8735cd4 100644 --- a/.bash/prompt.bash +++ b/.bash/prompt.bash @@ -45,7 +45,7 @@ case "$MYUID" in ;; aix) FGC2="fgcolor 238";FGC3="fgcolor 83";; *centos*) FGC2="fgcolor 25";FGC3="fgcolor 208";; - *solaris) FGC2="fgcolor 31";FGC3="fgcolor 124";; + *solaris) FGC2="fgcolor 63";FGC3="fgcolor 124";; ubuntu) if [ "$OSMAJVER" -ge 24 ];then if printf "%b" "$TERM"|grep -P 'xterm|256' > /dev/null;then @@ -66,6 +66,7 @@ case "$MYUID" in rasp*) FGC2="fgcolor 253";FGC3="fgcolor 126";; rocky) FGC2="fgcolor 22";FGC3="fgcolor 41";; alma*) FGC1="fgcolor 28";FGC2="fgcolor 88";FGC3="fgcolor 39";; + sunos) FGC2="fgcolor 75";FGC3="fgcolor 130";; *) FGC2="fgcolor 240";FGC3="fgcolor 244";; esac if [ -n "$TERMUX_APK_RELEASE" ]; then @@ -97,7 +98,7 @@ case "$MYUID" in ;; aix) FGC1="fgcolor 238";FGC3="fgcolor 83";; *centos*) FGC1="fgcolor 25";FGC3="fgcolor 208";; - *solaris) FGC1="fgcolor 31";FGC3="fgcolor 124";; + *solaris) FGC1="fgcolor 63";FGC3="fgcolor 124";; ubuntu) if [ "$OSMAJVER" -ge 24 ];then if printf "%b" "$TERM"|grep -P 'xterm|256' > /dev/null;then @@ -118,6 +119,7 @@ case "$MYUID" in rasp*) FGC1="fgcolor 53";FGC3="fgcolor 126";; rocky) FGC1="fgcolor 22";FGC3="fgcolor 41";; alma*) FGC1="fgcolor 124";FGC2="fgcolor 229";FGC3="fgcolor 39";; + sunos) FGC1="fgcolor 75";FGC3="fgcolor 130";; *) FGC1="fgcolor 240";FGC3="fgcolor 244";; esac if [ -n "$TERMUX_APK_RELEASE" ]; then -- cgit v1.2.3