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