summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install.sh b/tools/install.sh
index fb6973dbc..a6538f9d7 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -273,7 +273,7 @@ setup_ohmyzsh() {
}
ostype=$(uname)
- if [ -z "${ostype%CYGWIN*}" ] && git --version | grep -q msysgit; then
+ if [ -z "${ostype%CYGWIN*}" ] && git --version | grep -Eq 'msysgit|windows'; then
fmt_error "Windows/MSYS Git is not supported on Cygwin"
fmt_error "Make sure the Cygwin git package is installed and is first on the \$PATH"
exit 1