addet transient prompt
This commit is contained in:
parent
65078081e2
commit
9ea122f0dd
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
version = 3
|
||||
|
||||
|
@ -181,3 +182,12 @@ type = "prompt"
|
|||
|
||||
[blocks.segments.properties]
|
||||
always_enabled = true
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}green{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
||||
always_enabled = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue