Merge pull request #1650 from nwinkler/git-completion-darwin-fix

Fixed OS comparison for macOS
This commit is contained in:
Nils Winkler
2020-08-10 09:09:30 +02:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Only operate on MacOS since there are no linux paths
if [[ "$(uname -s)" == 'Darwin' ]] ; then
if [[ "$(uname -s)" != 'Darwin' ]] ; then
_log_warning "unsupported operating system - only 'Darwin' is supported"
return 0
fi