Cleaning.
This commit is contained in:
parent
23b9233165
commit
f5bf6f7953
3 changed files with 12 additions and 39 deletions
|
@ -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 = '❯ '
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue