fix again
This commit is contained in:
parent
fee4826bb0
commit
9af21c1bc3
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue