Made VI-Mode plugin working again.
parent
2e7d0f14d2
commit
b31d0ff395
|
@ -880,6 +880,11 @@ $(print_icon 'MULTILINE_SECOND_PROMPT_PREFIX')"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function zle-line-init zle-keymap-select {
|
||||||
|
powerlevel9k_prepare_prompts
|
||||||
|
zle reset-prompt
|
||||||
|
}
|
||||||
|
|
||||||
powerlevel9k_init() {
|
powerlevel9k_init() {
|
||||||
# Display a warning if the terminal does not support 256 colors
|
# Display a warning if the terminal does not support 256 colors
|
||||||
local term_colors
|
local term_colors
|
||||||
|
@ -902,6 +907,9 @@ powerlevel9k_init() {
|
||||||
|
|
||||||
# prepare prompts
|
# prepare prompts
|
||||||
add-zsh-hook precmd powerlevel9k_prepare_prompts
|
add-zsh-hook precmd powerlevel9k_prepare_prompts
|
||||||
|
|
||||||
|
zle -N zle-line-init
|
||||||
|
zle -N zle-keymap-select
|
||||||
}
|
}
|
||||||
|
|
||||||
powerlevel9k_init "$@"
|
powerlevel9k_init "$@"
|
||||||
|
|
Loading…
Reference in New Issue