aboutsummaryrefslogtreecommitdiff
path: root/autocompletes/_docker_containers
blob: d335b690d038e8fc8fa8aa3308adafe77cb0e373 (plain)
1
2
3
4
5
#compdef docker_containers

local -a options
options=$(docker ps --format "{{.Names}}")
_alternative "args:docker containers:($options)"