addet ssh color
This commit is contained in:
parent
2e0dfc4322
commit
e7678f6b83
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue