summaryrefslogtreecommitdiff
path: root/plugins/gitfast/git-completion.bash
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gitfast/git-completion.bash')
-rw-r--r--plugins/gitfast/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gitfast/git-completion.bash b/plugins/gitfast/git-completion.bash
index e3918c87e..8ce6b5c5f 100644
--- a/plugins/gitfast/git-completion.bash
+++ b/plugins/gitfast/git-completion.bash
@@ -2771,6 +2771,6 @@ __git_complete gitk __gitk_main
# when the user has tab-completed the executable name and consequently
# included the '.exe' suffix.
#
-if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
+if [[ "$OSTYPE" = cygwin* ]]; then
__git_complete git.exe __git_main
fi