fix again

This commit is contained in:
pika 2025-03-21 21:09:13 +01:00
parent fee4826bb0
commit 9af21c1bc3

View file

@ -23,7 +23,7 @@ type = "prompt"
style = "diamond" style = "diamond"
type = "session" type = "session"
template = '{{ .UserName }}{{if .SSHSession }}@{{ .HostName }}{{ end }}' template = '{{ .UserName }}{{if .SSHSession }}@{{ .HostName }}{{ end }}'
background_templates = ['{{if .SSHSession }}#e04e29{{end}}'] background_templates = ['{{if .SSHSession }}#522a27{{end}}']
# template = " {{ if .WSL }}WSL󰁥 {{ end }}{{.Icon}} " # template = " {{ if .WSL }}WSL󰁥 {{ end }}{{.Icon}} "
# type = "os" # type = "os"
@ -241,7 +241,8 @@ type = "prompt"
foreground = "#2e2e4e" foreground = "#2e2e4e"
style = "plain" style = "plain"
template = "╰─" template = "╰─"
type = "text" type = "session"
foreground_templates = ['{{if .SSHSession }}#522a27{{end}}']
[[blocks]] [[blocks]]
type = "rprompt" type = "rprompt"