git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-03-23 15:55:34 +0100
committermail_redacted_for_web 2022-03-23 15:55:34 +0100
commit2ebd4f1d0db6d9884a66be495edcbe67fe0d80d3 (patch)
treed9b0b38b51fdcd8139a6205f7344c09cb17cd09a /.bash
parentefa243422f4274ef6a4b8304677ac64d2c76884d (diff)
downloaddotfiles-2ebd4f1d0db6d9884a66be495edcbe67fe0d80d3.tar.bz2
+test: debian pink for debian systems
Diffstat (limited to '.bash')
-rw-r--r--.bash/prompt.bash7
1 files changed, 5 insertions, 2 deletions
diff --git a/.bash/prompt.bash b/.bash/prompt.bash
index da289c5..734988a 100644
--- a/.bash/prompt.bash
+++ b/.bash/prompt.bash
@@ -6,6 +6,9 @@ fgcolor () {
#echo "\\[\\033[38;5;"$1"m\\]"
echo "\033[38;5;${1}m"
}
+fgtcolor () {
+ echo "\033[38;2;$1;$2;$3m"
+}
bgcolor () {
#echo "\\[\\033[48;5;"$1"m\\]"
echo "\033[48;5;${1}m"
@@ -18,7 +21,7 @@ case "$MYUID" in
0)
FGC1="fgcolor 88"
case "$OSNAME" in
- debian) FGC2="fgcolor 25";FGC3="fgcolor 38";;
+ debian) FGC3="fgcolor 38";FGC2="fgtcolor 155 15 64";;
arch) FGC2="fgcolor 24";FGC3="fgcolor 240";;
redhat|fedora) FGC1="fgcolor 160";FGC2="fgcolor 88";FGC3="fgcolor 203";;
# with the advent of Rocky, we'll match the time to SUSE's blue and the hostname to
@@ -37,7 +40,7 @@ case "$MYUID" in
*)
FGC2="fgcolor 253"
case "$OSNAME" in
- debian) FGC1="fgcolor 25";FGC3="fgcolor 38";;
+ debian) FGC1="fgtcolor 155 15 64";FGC3="fgcolor 38";;
arch) FGC1="fgcolor 24";FGC3="fgcolor 239";;
redhat|fedora) FGC1="fgcolor 88";FGC3="fgcolor 203";;
#*suse|aix) FGC1="fgcolor 22";FGC3="fgcolor 41";;