Merge pull request #1649 from likan999/patch-1

Fix error "bash: _git_bash_completion_found: command not found..."
This commit is contained in:
Nils Winkler
2020-08-10 09:04:51 +02:00
committed by GitHub

View File

@@ -32,7 +32,7 @@ for _comp_path in "${_git_bash_completion_paths[@]}" ; do
done
# Cleanup
if ! _git_bash_completion_found ; then
if [[ "${_git_bash_completion_found}" == false ]]; then
_log_warning "no completion files found - please try enabling the 'system' completion instead."
fi
unset _git_bash_completion_paths