addet ssh color

This commit is contained in:
pika 2024-08-18 00:41:38 +02:00
parent 2e0dfc4322
commit e7678f6b83

View file

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