From 595b97a2d367374a01383f5d8e0c532d6460b7e8 Mon Sep 17 00:00:00 2001 From: Alexandros Kozak Date: Mon, 6 May 2019 11:56:32 -0700 Subject: [PATCH] Workarounds for ZSH v5.0.2 --- agkozak-zsh-prompt.plugin.zsh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/agkozak-zsh-prompt.plugin.zsh b/agkozak-zsh-prompt.plugin.zsh index bf8da2b..be71e2c 100644 --- a/agkozak-zsh-prompt.plugin.zsh +++ b/agkozak-zsh-prompt.plugin.zsh @@ -379,6 +379,7 @@ _agkozak_has_usr1() { # when necessary). # # Globals: +# AGKOZAK_IS_WSL # AGKOZAK_ASYNC_METHOD # AGKOZAK_FORCE_ASYNC_METHOD # AGKOZAK_TRAPUSR1_FUNCTION @@ -390,7 +391,7 @@ _agkozak_async_init() { if [[ -e /proc/version ]]; then if [[ -n ${(M)${(f)"$(