Changed prompt color to "base01" (gray) for Materna Category.

This commit is contained in:
Stefan Gaiselmann 2021-01-29 08:57:45 +01:00
parent e025a0cc72
commit 0dfb90b672

View File

@ -15,7 +15,11 @@ mySystem=$(uname -n)
myFQDN="$(uname -n).$(dnsdomainname)"
myCategory="{{.bash.prompt.category}}"
myType="{{.chezmoi.hostname}}"
{{ if eq .chezmoi.os "windows" -}}
myPrettyName="{{.chezmoi.os}}"
{{ else -}}
myPrettyName="{{.chezmoi.osRelease.prettyName}}"
{{ end -}}
myNum=0
# last exit code
@ -38,7 +42,11 @@ bg_reset="\[\e[49m\]"
fg_reset="\[\e[39m\]"
fg_system="${sol_base3}"
{{- if eq .bash.prompt.category "AWS" }}
{{- if eq .bash.prompt.category "Materna" }}
# Materna gray
bg_system="${sol_bg_base01}"
fg_type="${sol_base01}"
{{- else if eq .bash.prompt.category "AWS" }}
# AWS specific color
bg_system="${sol_bg_orange}"
fg_type="${sol_orange}"