bug fix: unset _p9k_preinit when tearing down

pull/298/head
romkatv 2019-10-24 18:01:44 +02:00
parent b91cba49aa
commit 7ab85fbfc3
1 changed files with 1 additions and 0 deletions

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