From a43093119e8d0e7ebb49e45b9fda069c3c4998fd Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Sat, 13 Oct 2018 23:13:16 -0500 Subject: [PATCH] prompt/minimal: Add support for preview --- modules/prompt/functions/prompt_minimal_setup | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/prompt/functions/prompt_minimal_setup b/modules/prompt/functions/prompt_minimal_setup index 7456ffd..b600768 100644 --- a/modules/prompt/functions/prompt_minimal_setup +++ b/modules/prompt/functions/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 "$@"