From 41084ee67807fef423cad2f2fab25ccfce5a3d0e Mon Sep 17 00:00:00 2001 From: Kan Li Date: Sat, 8 Aug 2020 22:09:43 -0700 Subject: [PATCH] Fix error "bash: _git_bash_completion_found: command not found..." --- completion/available/git.completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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