mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
make sure the next hook called after p10k-on-post-prompt is always either p10k-on-pre-prompt or p10k-on-init
This commit is contained in:
parent
5deed4d459
commit
9da0365dfb
1 changed files with 1 additions and 0 deletions
|
@ -5298,6 +5298,7 @@ function _p9k_on_widget_zle-line-finish() {
|
|||
function _p9k_widget_hook() {
|
||||
emulate -L zsh
|
||||
setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst}
|
||||
(( _p9k__restore_prompt_fd )) && _p9k_restore_prompt
|
||||
__p9k_reset_state=1
|
||||
if (( $+_p9k__last_buffer )); then
|
||||
local P9K_LASTBUFFER=$_p9k__last_buffer
|
||||
|
|
Loading…
Reference in a new issue