From 5a30a38146cecb1a9d986a160cb0e497996ce413 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 "$@"