mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-01 01:04:29 +00:00
avoid calling 'functions +M' as it sometimes crashes zsh
This commit is contained in:
@@ -404,7 +404,7 @@
|
|||||||
|
|
||||||
typeset -g my_git_format=$res
|
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.
|
# Disable the default Git status formatting.
|
||||||
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
|
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
|
||||||
|
|||||||
@@ -384,7 +384,7 @@
|
|||||||
|
|
||||||
typeset -g my_git_format=$res
|
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.
|
# Disable the default Git status formatting.
|
||||||
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
|
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
|
||||||
|
|||||||
Reference in New Issue
Block a user