aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh4
1 files 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