mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
add function to disable powerlevel9k
Sometimes you have to disable your prompt. :-(
This commit is contained in:
parent
0b2483cf6d
commit
feb942d453
1 changed files with 5 additions and 0 deletions
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue