mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 15:08:01 +00:00
prompt/minimal: Add support for preview
This commit is contained in:
parent
a3753d8f3b
commit
a43093119e
@ -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 New Issue
Block a user