add p10k-on-post-prompt

pull/328/head
romkatv 5 years ago
parent 232e312b4d
commit 1d0ee7cbdd

@ -4775,7 +4775,18 @@ _p9k_wrap_zle_widget() {
function _p9k_zle_line_finish() { function _p9k_zle_line_finish() {
_p9k__line_finished= _p9k__line_finished=
if (( _p9k_reset_on_line_finish )); then local -i reset=_p9k_reset_on_line_finish
if (( $+functions[p10k-on-post-prompt] )); then
__p9k_reset_state=1
p10k-on-post-prompt
if (( __p9k_reset_state == 2 )); then
reset=1
fi
__p9k_reset_state=0
fi
if (( reset )); then
_p9k_reset_prompt _p9k_reset_prompt
fi fi
} }

Loading…
Cancel
Save