Cleaning.

This commit is contained in:
Bartek Stalewski 2024-09-30 00:57:55 +02:00
parent 23b9233165
commit f5bf6f7953
No known key found for this signature in database
3 changed files with 12 additions and 39 deletions

View file

@ -24,7 +24,7 @@ alignment = 'left'
style = 'plain'
background = 'transparent'
foreground_templates = [
"{{ if .Root }}196{{ end }}",
"{{ if .Root }}196{{ else }}246{{ end }}"
]
template = '{{ if or (.SSHSession) (.Root) }}{{ .UserName }}@{{ .HostName }} {{ end }}'
@ -55,16 +55,14 @@ alignment = 'left'
style = 'plain'
background = 'transparent'
foreground_templates = [
'{{ if eq .Code 0 }}76{{ end }}',
'{{ if gt .Code 0 }}196{{ end }}',
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
]
template = ''
[transient_prompt]
background = 'transparent'
foreground_templates = [
'{{ if eq .Code 0 }}76{{ end }}',
'{{ if gt .Code 0 }}196{{ end }}',
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
]
template = ' '