mirror of https://github.com/docker/cli.git
bash completion for connecting non-running containers to networks
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
22aaf42a84
commit
9c8b6e05a4
|
@ -1139,7 +1139,7 @@ _docker_network_connect() {
|
||||||
if [ $cword -eq $counter ]; then
|
if [ $cword -eq $counter ]; then
|
||||||
__docker_complete_networks
|
__docker_complete_networks
|
||||||
elif [ $cword -eq $(($counter + 1)) ]; then
|
elif [ $cword -eq $(($counter + 1)) ]; then
|
||||||
__docker_complete_containers_running
|
__docker_complete_containers_all
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue