bugfixing
This commit is contained in:
parent
489af14d64
commit
8bf0cbbe72
2 changed files with 199 additions and 3 deletions
|
@ -30,7 +30,7 @@ type = "prompt"
|
|||
type = "text"
|
||||
style = "plain"
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
foreground = "p:terminal-magenta"
|
||||
template = "➜ "
|
||||
|
||||
[[blocks.segments]]
|
||||
|
@ -120,8 +120,11 @@ newline = true
|
|||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:pistachio-green"
|
||||
style = "plain"
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}green{{end}}",
|
||||
]
|
||||
template = ""
|
||||
type = "text"
|
||||
|
||||
|
@ -133,5 +136,9 @@ template = " "
|
|||
[transient_prompt]
|
||||
type = "status"
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}green{{end}}",
|
||||
]
|
||||
# foreground = "p:terminal-blue"
|
||||
template = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue