prompt/minimal: Add support for preview

This commit is contained in:
Indrajit Raychaudhuri 2018-10-13 23:13:16 -05:00
parent a3753d8f3b
commit a43093119e

View file

@ -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 "$@"