diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-05-26 22:50:05 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-05-26 22:50:05 +0300 |
commit | 86d980cdb5d8eed683322f61db7c22c02640dd67 (patch) | |
tree | dc1b2dbe679b0b3fe778de8215c4ecf446592396 /gitstatus.plugin.zsh | |
parent | 102aefadaba271a48a74f13953dd88067f9862c6 (diff) |
Squashed 'gitstatus/' changes from be42ea1be..45489634e
45489634e check for cygwin via OSTYPE
git-subtree-dir: gitstatus
git-subtree-split: 45489634e1b9a2a11fc8dc94482516142d61a9c8
Diffstat (limited to 'gitstatus.plugin.zsh')
-rw-r--r-- | gitstatus.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus.plugin.zsh b/gitstatus.plugin.zsh index 1e5c7545..1e806a3c 100644 --- a/gitstatus.plugin.zsh +++ b/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: |