1
0
Fork 0
mirror of synced 2024-12-28 08:53:21 -05:00
zimfw/modules/prompt/functions/prompt_liquidprompt_setup
caedus75 b46edd43a8 [prompt] add setup function to themes
proper setup and preview of themes with 'prompt' function

closes #12, closes #15
2016-01-07 08:07:11 -05:00

15 lines
284 B
Bash

function prompt_liquidprompt_setup() {
autoload -Uz ex-liquidprompt
ext-liquidprompt
prompt_opts=(cr subst percent)
}
function prompt_liquidprompt_preview() {
_lp_set_prompt
prompt_preview_theme liquidprompt
}
prompt_liquidprompt_setup "$@"
# vim:filetype=zsh