diff --git a/dot_bashrc.d/executable_10.sshrc.tmpl b/dot_bashrc.d/executable_10.sshrc.tmpl index 767b066..e54f653 100644 --- a/dot_bashrc.d/executable_10.sshrc.tmpl +++ b/dot_bashrc.d/executable_10.sshrc.tmpl @@ -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}"