1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00: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 "$@"