aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh3
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