summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-25 14:33:52 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-25 14:33:52 +0300
commit5a75b1bfc9889bea50466d12a517a416b02447fe (patch)
tree3f9b504966f9916785c6d2f160be8fc9747bba03
parent61bba0f6eea5d3348b17a074854126a398100937 (diff)
bug fix: unset _p9k__*
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 9329db2b..171ca258 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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