1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-17 10:10:07 +00:00

bug fix: unset _p9k_preinit when tearing down

This commit is contained in:
romkatv 2019-10-24 18:01:44 +02:00
parent b91cba49aa
commit 7ab85fbfc3

View file

@ -5164,6 +5164,7 @@ _p9k_init() {
}
_p9k_deinit() {
(( $+functions[_p9k_preinit] )) && unfunction _p9k_preinit
(( $+functions[gitstatus_stop] )) && gitstatus_stop POWERLEVEL9K
_p9k_deinit_async_pump
(( _p9k_dump_pid )) && wait $_p9k_dump_pid 2>/dev/null