1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 21:40:08 +00:00

add a teardown hook for zplugin

This commit is contained in:
romkatv 2019-07-31 13:03:17 +02:00
parent 98cd3a0b4b
commit 0c0641d579

View file

@ -4329,6 +4329,9 @@ prompt_powerlevel9k_teardown() {
fi fi
} }
# Hook for zplugin.
powerlevel10k_plugin_unload() { prompt_powerlevel9k_teardown; }
autoload -Uz colors && colors autoload -Uz colors && colors
autoload -Uz add-zsh-hook autoload -Uz add-zsh-hook