Browse Source

prompt/minimal: Add support for preview

master
Indrajit Raychaudhuri 6 years ago
parent
commit
5a30a38146
  1. 9
      modules/prompt/functions/prompt_minimal_setup

9
modules/prompt/functions/prompt_minimal_setup

@ -47,4 +47,13 @@ function prompt_minimal_setup { @@ -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…
Cancel
Save