prompt/minimal: Add support for preview
This commit is contained in:
parent
a3753d8f3b
commit
a43093119e
1 changed files with 9 additions and 0 deletions
|
@ -47,4 +47,13 @@ function prompt_minimal_setup {
|
|||
RPROMPT=''
|
||||
}
|
||||
|
||||
function prompt_minimal_preview {
|
||||
local +h PROMPT=''
|
||||
local +h RPROMPT=''
|
||||
local +h SPROMPT=''
|
||||
|
||||
editor-info 2> /dev/null
|
||||
prompt_preview_theme 'minimal'
|
||||
}
|
||||
|
||||
prompt_minimal_setup "$@"
|
||||
|
|
Loading…
Reference in a new issue