Fix error "bash: _git_bash_completion_found: command not found..."

This commit is contained in:
Kan Li
2020-08-08 22:09:43 -07:00
committed by GitHub
parent 42e9017df3
commit 41084ee678

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