mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-26 14:00:08 +00:00
teardown: reset PROMPT and RPROMPT
This commit is contained in:
parent
feb942d453
commit
382c821539
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue