From 3e17260622dc9d40f55fa7d73fc346ef3185e4a5 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Sat, 13 Jun 2020 17:04:31 +0200 Subject: [PATCH] no need to call `zle -R` when using z4h --- internal/p10k.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 8d57052e..d62a559d 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6522,10 +6522,10 @@ function _p9k_reset_prompt() { setopt prompt_subst (( __p9k_ksh_arrays )) && setopt ksh_arrays (( __p9k_sh_glob )) && setopt sh_glob - (( _p9k__can_hide_cursor )) && echoti civis { + (( _p9k__can_hide_cursor )) && echoti civis zle .reset-prompt - zle -R + (( ${+functions[z4h]} )) || zle -R } always { (( _p9k__can_hide_cursor )) && echoti cnorm _p9k__cursor_hidden=0