fix(git): disable temporarely async prompt

This commit is contained in:
Carlo Sala 2024-03-07 17:17:27 +01:00
parent 083cc2c8e8
commit 32d4389aa6
No known key found for this signature in database
GPG Key ID: DA6FB450C1A4FE9A

View File

@ -38,7 +38,7 @@ function _omz_git_prompt_status() {
}
# Enable async prompt by default unless the setting is at false / no
if zstyle -T ':omz:alpha:lib:git' async-prompt; then
if zstyle -t ':omz:alpha:lib:git' async-prompt; then
function git_prompt_info() {
_omz_register_handler _omz_git_prompt_status
if [[ -n "$_OMZ_ASYNC_OUTPUT[_omz_git_prompt_status]" ]]; then