From 1d208e292b66b9bc4e39c3b29716559f8c1f9a3f Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 10 Nov 2021 14:09:24 -0700 Subject: Initial Commit --- autocompletes/_docker_containers | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 autocompletes/_docker_containers (limited to 'autocompletes/_docker_containers') diff --git a/autocompletes/_docker_containers b/autocompletes/_docker_containers new file mode 100644 index 0000000..d335b69 --- /dev/null +++ b/autocompletes/_docker_containers @@ -0,0 +1,5 @@ +#compdef docker_containers + +local -a options +options=$(docker ps --format "{{.Names}}") +_alternative "args:docker containers:($options)" -- cgit v1.2.3