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:
parent
98cd3a0b4b
commit
0c0641d579
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue