diff --git a/completion/available/git.completion.bash b/completion/available/git.completion.bash index 8c5c9ea3..9c077451 100644 --- a/completion/available/git.completion.bash +++ b/completion/available/git.completion.bash @@ -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