summaryrefslogtreecommitdiff
path: root/plugins/gitfast/git-completion.bash
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-14 19:54:42 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-14 19:54:42 -0600
commita16fe1511ccf698432b7bbaccf250a7739ed2a92 (patch)
treeee5e6ed90702bf1691bd580a09c1745d898f768b /plugins/gitfast/git-completion.bash
parenta2baf45bce6bb8b501512233441af8f65f90a775 (diff)
parent31a84e710f2006176402be6b76ce370dabfc95d3 (diff)
downloadzsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.tar.gz
zsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.tar.bz2
zsh-a16fe1511ccf698432b7bbaccf250a7739ed2a92.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
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