formatted docker completion

pull/1782/head
Gurkirat Singh 2021-01-10 19:22:47 +05:30
parent 5be5d6933d
commit 15461c4ca5
No known key found for this signature in database
GPG Key ID: CFD64E1DCB3DA835
1 changed files with 11 additions and 9 deletions

View File

@ -13,8 +13,10 @@ _docker_bash_completion_paths=(
'/usr/share/bash-completion/completions/docker' '/usr/share/bash-completion/completions/docker'
) )
for fn in "${_docker_bash_completion_paths[@]}" ; do for fn in "${_docker_bash_completion_paths[@]}"
if [ -r "$fn" ] ; then do
if [ -r "$fn" ]
then
source "$fn" source "$fn"
break break
fi fi