aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-26 22:50:05 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-26 22:50:05 +0300
commitb38a7bf4af2a1ee9bf625417eca575aebd1ea86f (patch)
treebe41654ffc9fb520c1f5bd20e0ba4b307f93bb15
parentee68d4db4b9c2cd9257fc7fd8c35277a09ac636c (diff)
parent86d980cdb5d8eed683322f61db7c22c02640dd67 (diff)
Merge commit '86d980cdb5d8eed683322f61db7c22c02640dd67'
-rw-r--r--gitstatus/gitstatus.plugin.zsh2
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: