shot in the dark

pull/27/head
romkatv 6 years ago
parent af9c7adfd0
commit 8f2fae5a38

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

Loading…
Cancel
Save