summaryrefslogtreecommitdiff
path: root/config/p10k-lean.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-lean.zsh
parent4ef1a9bbdd21a2935eb94780b2cb43c6bc042b9e (diff)
avoid calling 'functions +M' as it sometimes crashes zsh
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 68c34dbd..999738d9 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -384,7 +384,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