aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2017-05-23 04:17:10 +0300
committerBen Hilburn <bhilburn@gmail.com>2017-05-23 04:17:10 +0300
commitc04c51bc8bf07045c840c3fee29d8f37af2910e2 (patch)
treee5b0f89edd3ebbeafd5b97f269b861ca12d67d8f
parente844fc4c72e20f84d8022ff9591e75d4a30886cf (diff)
parent382c8215390373430ae07eea0858e2b3dc97689c (diff)
Merge branch 'pr/teardown' of https://github.com/docwhat/powerlevel9k into docwhat-pr/teardown
-rwxr-xr-xpowerlevel9k.zsh-theme7
1 files changed, 7 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index ec10be85..2138f54b 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1450,4 +1450,11 @@ prompt_powerlevel9k_setup() {
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 "$@"