1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-29 14:50:08 +00:00

add function to disable powerlevel9k

Sometimes you have to disable your prompt. :-(
This commit is contained in:
Christian Höltje 2017-05-04 02:20:29 -04:00
parent 0b2483cf6d
commit feb942d453

View file

@ -1412,4 +1412,9 @@ 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_powerlevel9k_setup "$@" prompt_powerlevel9k_setup "$@"