This commit is contained in:
pika 2024-08-18 00:43:39 +02:00
parent e7678f6b83
commit 4c42fb8de1

View file

@ -29,7 +29,7 @@ type = "prompt"
[[blocks.segments]]
foreground = "p:terminal-magenta"
foreground_templates = [
"{{if gt .SSHSession 0}}terminal-red{{end}}",
"{{if .SSHSession }}terminal-red{{end}}",
]
style = "plain"
template = " {{ .UserName }}"