From 29085b7fed773f676a4f15c14473c013f5332bf2 Mon Sep 17 00:00:00 2001 From: Peter Aronoff Date: Sat, 4 Oct 2025 08:51:22 -0400 Subject: [PATCH] fix: isolate _zsh_git_prompt_async_request --- git-prompt.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-prompt.zsh b/git-prompt.zsh index 95c87a0..9249fa8 100644 --- a/git-prompt.zsh +++ b/git-prompt.zsh @@ -290,6 +290,7 @@ function _zsh_git_prompt_git_status_secondary() { zmodload zsh/system function _zsh_git_prompt_async_request() { + emulate -L zsh typeset -g _ZSH_GIT_PROMPT_ASYNC_FD _ZSH_GIT_PROMPT_ASYNC_PID # If we've got a pending request, cancel it