Commit 9a58e8da authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #3578 from ctroncoso/patch-1

docker containers based on defined names
parents 67fff602 68955f17
......@@ -11,7 +11,7 @@
# Output a selectable list of all running docker containers
__docker_containers() {
declare -a cont_cmd
cont_cmd=($(docker ps | awk 'NR>1{print $1":[CON("$1")"$2"("$3")]"}'))
cont_cmd=($(docker ps | awk 'NR>1{print $NF":[CON("$1")"$2"("$3")]"}'))
_describe 'containers' cont_cmd
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment