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:
parent
feb942d453
commit
382c821539
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user