diff options
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 1e5c7545..1e806a3c 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -573,7 +573,7 @@ function gitstatus_start"${1:-}"() { typeset -gi _GITSTATUS_LOCK_FD_$name=lock_fd - if [[ -n $USERPROFILE && -d /cygdrive && -d /proc/self/fd ]]; then + if [[ $OSTYPE == cygwin* && -d /proc/self/fd ]]; then # Work around bugs in Cygwin 32-bit. # # This hangs: |