1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

Squashed 'gitstatus/' changes from be42ea1be..45489634e

45489634e check for cygwin via OSTYPE

git-subtree-dir: gitstatus
git-subtree-split: 45489634e1b9a2a11fc8dc94482516142d61a9c8
This commit is contained in:
romkatv 2020-05-26 21:50:05 +02:00
parent 102aefadab
commit 86d980cdb5

View file

@ -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: