From 6fe56b659db6903d855d4ea538765bb162269f5e Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 28 Mar 2022 05:13:14 +0200 Subject: [PATCH] Zsh Only initialize async if it isn't already --- .config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 73b9e5e..ada277e 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -89,7 +89,7 @@ zstyle ':fzf-tab:complete:git-show:argument-rest' fzf-preview 'git show --color= zstyle ':fzf-tab:complete:git-(add|diff|restore):argument-1' fzf-preview 'git diff --color=always $word' zstyle ':fzf-tab:complete:man:*' fzf-preview 'whatis -l $word | cut -d- -f2,3,4,5,6' -async_init +[[ -v ASYNC_VERSION && ${ASYNC_INIT_DONE} -eq 0 ]] && async_init ################################################################################