Added AWS specific color for bash prompt.
This commit is contained in:
parent
599827a361
commit
aa1caf8b71
@ -36,10 +36,18 @@ echo "myFQDN: $myFQDN"
|
|||||||
bg_type="\[\e[48;5;254m\]"
|
bg_type="\[\e[48;5;254m\]"
|
||||||
bg_reset="\[\e[49m\]"
|
bg_reset="\[\e[49m\]"
|
||||||
fg_reset="\[\e[39m\]"
|
fg_reset="\[\e[39m\]"
|
||||||
|
|
||||||
bg_system="${sol_bg_magenta}"
|
|
||||||
fg_system="${sol_base3}"
|
fg_system="${sol_base3}"
|
||||||
|
|
||||||
|
{{- if eq .bash.prompt.category "AWS" }}
|
||||||
|
# AWS specific color
|
||||||
|
bg_system="${sol_bg_orange}"
|
||||||
|
fg_type="${sol_orange}"
|
||||||
|
{{- else }}
|
||||||
|
# Default color
|
||||||
|
bg_system="${sol_bg_magenta}"
|
||||||
fg_type="${sol_magenta}"
|
fg_type="${sol_magenta}"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
bg_type="${sol_bg_base3}"
|
bg_type="${sol_bg_base3}"
|
||||||
fg_arrow1="${fg_type}"
|
fg_arrow1="${fg_type}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user