mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
no need to call zle -R
when using z4h
This commit is contained in:
parent
4d14f9e0ba
commit
3e17260622
1 changed files with 2 additions and 2 deletions
|
@ -6522,10 +6522,10 @@ function _p9k_reset_prompt() {
|
||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
(( __p9k_ksh_arrays )) && setopt ksh_arrays
|
(( __p9k_ksh_arrays )) && setopt ksh_arrays
|
||||||
(( __p9k_sh_glob )) && setopt sh_glob
|
(( __p9k_sh_glob )) && setopt sh_glob
|
||||||
(( _p9k__can_hide_cursor )) && echoti civis
|
|
||||||
{
|
{
|
||||||
|
(( _p9k__can_hide_cursor )) && echoti civis
|
||||||
zle .reset-prompt
|
zle .reset-prompt
|
||||||
zle -R
|
(( ${+functions[z4h]} )) || zle -R
|
||||||
} always {
|
} always {
|
||||||
(( _p9k__can_hide_cursor )) && echoti cnorm
|
(( _p9k__can_hide_cursor )) && echoti cnorm
|
||||||
_p9k__cursor_hidden=0
|
_p9k__cursor_hidden=0
|
||||||
|
|
Loading…
Reference in a new issue