1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-12 19:18:28 +02:00

teardown: reset PROMPT and RPROMPT

This commit is contained in:
Christian Höltje 2017-05-12 21:30:42 -04:00
parent feb942d453
commit 382c821539

View File

@ -1415,6 +1415,8 @@ prompt_powerlevel9k_setup() {
prompt_powerlevel9k_teardown() {
add-zsh-hook -D precmd powerlevel9k_\*
add-zsh-hook -D preexec powerlevel9k_\*
PROMPT='%m%# '
RPROPT=
}
prompt_powerlevel9k_setup "$@"