add a teardown hook for zplugin

pull/186/head
romkatv 2019-07-31 13:03:17 +02:00
parent 98cd3a0b4b
commit 0c0641d579
1 changed files with 3 additions and 0 deletions

View File

@ -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