teardown: reset PROMPT and RPROMPT

pull/22/head
Christian Höltje 8 years ago
parent feb942d453
commit 382c821539

@ -1415,6 +1415,8 @@ prompt_powerlevel9k_setup() {
prompt_powerlevel9k_teardown() { prompt_powerlevel9k_teardown() {
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%# '
RPROPT=
} }
prompt_powerlevel9k_setup "$@" prompt_powerlevel9k_setup "$@"

Loading…
Cancel
Save