mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Merge branch 'pr/teardown' of https://github.com/docwhat/powerlevel9k into docwhat-pr/teardown
This commit is contained in:
commit
c04c51bc8b
1 changed files with 7 additions and 0 deletions
|
@ -1450,4 +1450,11 @@ prompt_powerlevel9k_setup() {
|
||||||
add-zsh-hook preexec powerlevel9k_preexec
|
add-zsh-hook preexec powerlevel9k_preexec
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prompt_powerlevel9k_teardown() {
|
||||||
|
add-zsh-hook -D precmd powerlevel9k_\*
|
||||||
|
add-zsh-hook -D preexec powerlevel9k_\*
|
||||||
|
PROMPT='%m%# '
|
||||||
|
RPROPT=
|
||||||
|
}
|
||||||
|
|
||||||
prompt_powerlevel9k_setup "$@"
|
prompt_powerlevel9k_setup "$@"
|
||||||
|
|
Loading…
Reference in a new issue