completion/docker-compose: use `_command_exists`

pull/1938/head
John D Pell 2021-09-19 21:28:32 -07:00
parent 679d8b10b6
commit 699720fe8b
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ _docker_compose() {
done
local completions_func=_docker_compose_${command//-/_}
declare -F $completions_func >/dev/null && $completions_func
_is_function $completions_func && $completions_func
eval "$previous_extglob_setting"
return 0