diff options
| author | mail_redacted_for_web | 2026-03-11 09:50:05 +0100 |
|---|---|---|
| committer | mail_redacted_for_web | 2026-03-11 09:50:05 +0100 |
| commit | 00a7b513b222586a2a58b620db791d002bcdb91a (patch) | |
| tree | b6656541c4156ad693b909edd58bc9eff3019cfa /.bash | |
| parent | 3c59bdeba09663a5fc85473698a996cc58dd6f37 (diff) | |
| download | dotfiles-00a7b513b222586a2a58b620db791d002bcdb91a.tar.bz2 | |
Diffstat (limited to '.bash')
| -rw-r--r-- | .bash/prompt.bash | 12 |
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 |
