aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2017-05-13 04:30:42 +0300
committerChristian Höltje <docwhat@gerf.org>2017-05-13 05:15:26 +0300
commit382c8215390373430ae07eea0858e2b3dc97689c (patch)
tree46da6243e1a7d57957036a916e966c9e3b6204d5 /powerlevel9k.zsh-theme
parentfeb942d4536004ecc862d6c6447599359b64c96a (diff)
teardown: reset PROMPT and RPROMPT
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index ab7ec346..28c606d6 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1415,6 +1415,8 @@ prompt_powerlevel9k_setup() {
prompt_powerlevel9k_teardown() {
add-zsh-hook -D precmd powerlevel9k_\*
add-zsh-hook -D preexec powerlevel9k_\*
+ PROMPT='%m%# '
+ RPROPT=
}
prompt_powerlevel9k_setup "$@"