git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash
diff options
context:
space:
mode:
authormail_redacted_for_web 2026-03-11 09:50:05 +0100
committermail_redacted_for_web 2026-03-11 09:50:05 +0100
commit00a7b513b222586a2a58b620db791d002bcdb91a (patch)
treeb6656541c4156ad693b909edd58bc9eff3019cfa /.bash
parent3c59bdeba09663a5fc85473698a996cc58dd6f37 (diff)
downloaddotfiles-00a7b513b222586a2a58b620db791d002bcdb91a.tar.bz2
style: add OpenVox/Puppet colours, fine-grain proxmoxHEADtestingmaster
Diffstat (limited to '.bash')
-rw-r--r--.bash/prompt.bash12
1 files changed, 11 insertions, 1 deletions
diff --git a/.bash/prompt.bash b/.bash/prompt.bash
index 6ac081b..dde6134 100644
--- a/.bash/prompt.bash
+++ b/.bash/prompt.bash
@@ -135,7 +135,17 @@ case "$MYUID" in
esac
# HYPERVISOR LAYER 8 SOFTWARE
if pveversion > /dev/null 2>&1;then
- FGC1="fgcolor 238";FGC3="fgcolor 130"
+ case "$MYUID" in
+ 0) FGC2="fgcolor 130";FGC3="fgcolor 236";;
+ *) FGC1="fgcolor 236";FGC3="fgcolor 130";;
+ esac
+fi
+# Automation frameworks
+if printf '%b' "$(hostname -f)" | grep -i openvox > /dev/null; then
+ case "$MYUID" in
+ 0) FGC2="fgcolor 222";FGC3="fgcolor 215";;
+ *) FGC1="fgcolor 215";FGC3="fgcolor 222";;
+ esac
fi
# make it possible to draw user-defined colours
# shellcheck disable=SC1090,SC1091