aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-08 14:47:55 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-08 14:47:55 +0300
commitbbaf6107c3be5f264c6835753ae705b46a056e28 (patch)
treeffe8639a47765a925446b3e022c89df03ac93fa7 /config/p10k-classic.zsh
parent4ef1a9bbdd21a2935eb94780b2cb43c6bc042b9e (diff)
avoid calling 'functions +M' as it sometimes crashes zsh
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 54d90755..5ea2cdba 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -404,7 +404,7 @@
typeset -g my_git_format=$res
}
- functions +M -m my_git_formatter && functions -M my_git_formatter
+ functions -M my_git_formatter 2>/dev/null
# Disable the default Git status formatting.
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true