From bbaf6107c3be5f264c6835753ae705b46a056e28 Mon Sep 17 00:00:00 2001 From: romkatv Date: Tue, 8 Oct 2019 13:47:55 +0200 Subject: [PATCH] avoid calling 'functions +M' as it sometimes crashes zsh --- config/p10k-classic.zsh | 2 +- config/p10k-lean.zsh | 2 +- 2 files changed, 2 insertions(+), 2 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 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