avoid calling 'functions +M' as it sometimes crashes zsh

This commit is contained in:
romkatv 2019-10-08 13:47:55 +02:00
parent 4ef1a9bbdd
commit bbaf6107c3
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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