1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-16 17:50:09 +00:00

shot in the dark

This commit is contained in:
romkatv 2019-03-14 19:28:30 +01:00
parent af9c7adfd0
commit 8f2fae5a38

View file

@ -2255,10 +2255,10 @@ _p9k_init() {
typeset -gi _P9K_ENABLED=0
prompt_powerlevel9k_setup() {
setopt nopromptbang prompt{cr,percent,sp,subst}
prompt_powerlevel9k_teardown
setopt nopromptbang prompt{cr,percent,sp,subst}
add-zsh-hook precmd powerlevel9k_prepare_prompts
add-zsh-hook preexec powerlevel9k_preexec
@ -2267,7 +2267,6 @@ prompt_powerlevel9k_setup() {
}
prompt_powerlevel9k_teardown() {
emulate -L zsh
add-zsh-hook -D precmd powerlevel9k_\*
add-zsh-hook -D preexec powerlevel9k_\*
PROMPT='%m%# '