1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

bash completion for connecting non-running containers to networks

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-13 10:32:23 +01:00
parent 9232c09cd5
commit 40f73c7c8e

View file

@ -1139,7 +1139,7 @@ _docker_network_connect() {
if [ $cword -eq $counter ]; then
__docker_complete_networks
elif [ $cword -eq $(($counter + 1)) ]; then
__docker_complete_containers_running
__docker_complete_containers_all
fi
;;
esac