diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index e31467077c..c7645397ef 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -5117,6 +5117,9 @@ _docker() { local counter=1 while [ "$counter" -lt "$cword" ]; do case "${words[$counter]}" in + docker) + return 0 + ;; # save host so that completion can use custom daemon --host|-H) (( counter++ ))