feat: transient prompt addet
This commit is contained in:
parent
cd9945a4e6
commit
5eaf571161
1 changed files with 7 additions and 0 deletions
|
@ -3,8 +3,15 @@ console_title_template = "{{ .Shell }} in {{ .Folder }}"
|
||||||
final_space = true
|
final_space = true
|
||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
template = ''
|
||||||
|
background = 'transparent'
|
||||||
|
type = 'status'
|
||||||
|
foreground_templates = ['{{if gt .Code 0}}terminal-red{{end}}', '{{if eq .Code 0}}p:pistachio-green{{end}}']
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "left"
|
alignment = "left"
|
||||||
|
newline = true
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue