Show loading indicator in prompt whilst plugins are loading
This commit is contained in:
parent
83b6e927c6
commit
95153292ea
4 changed files with 29 additions and 2 deletions
11
jmb.omp.toml
11
jmb.omp.toml
|
@ -56,8 +56,15 @@ console_title_template = '{{ .Folder }}'
|
|||
always_enabled = true
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'right'
|
||||
type = 'rprompt'
|
||||
alignment = 'left'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "text"
|
||||
style = "plain"
|
||||
foreground = "black"
|
||||
background = "transparent"
|
||||
template = "{{ if .Env.SHELL_LOADING }} loading {{ end }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "executiontime"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue