diff options
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 |
