Skip to content

Commit

Permalink
prompt/minimal: Add support for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajitr committed Oct 18, 2018
1 parent a3753d8 commit a430931
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/prompt/functions/prompt_minimal_setup
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit a430931

Please sign in to comment.