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

bug fix: unset _p9k__*

This commit is contained in:
romkatv 2019-10-25 13:33:52 +02:00
parent 61bba0f6ee
commit 5a75b1bfc9

View file

@ -5174,7 +5174,7 @@ _p9k_deinit() {
(( $+functions[gitstatus_stop] )) && gitstatus_stop POWERLEVEL9K
_p9k_deinit_async_pump
(( _p9k__dump_pid )) && wait $_p9k__dump_pid 2>/dev/null
unset -m '(_POWERLEVEL9K_|P9K_|_p9k_[^_])*~P9K_SSH'
unset -m '(_POWERLEVEL9K_|P9K_|_p9k_)*~P9K_SSH'
}
typeset -gi __p9k_enabled=0