diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-31 14:03:17 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-31 14:03:17 +0300 |
commit | 0c0641d5798ab2985f1fc091336779a0c8c80fd1 (patch) | |
tree | 72ea19f5c949a2d18a41a6974e5f66674b975026 /internal/p10k.zsh | |
parent | 98cd3a0b4bd3c7990c6c4075e239ebe890db0c5c (diff) |
add a teardown hook for zplugin
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-x | internal/p10k.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index b37fa2d0..4059bd87 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -4329,6 +4329,9 @@ prompt_powerlevel9k_teardown() { fi } +# Hook for zplugin. +powerlevel10k_plugin_unload() { prompt_powerlevel9k_teardown; } + autoload -Uz colors && colors autoload -Uz add-zsh-hook |