c8820313ef
breaking the current prompt after `prompt -p`. Actually liquidprompt is pretty invasive in the way it is implemented, defining extra `prompt_on`, `prompt_off` and `prompt_OFF` functions to switch it after it is executed. Fixes #112, Closes #165
12 lignes
215 o
Text
12 lignes
215 o
Text
prompt_liquidprompt_setup() {
|
|
autoload -Uz ex-liquidprompt
|
|
ext-liquidprompt
|
|
}
|
|
|
|
prompt_liquidprompt_preview() {
|
|
_lp_set_prompt
|
|
prompt_preview_theme liquidprompt
|
|
prompt_off
|
|
}
|
|
|
|
prompt_liquidprompt_setup "$@"
|