From 4577834e8c7e057c24487076ccded7e98f9e7777 Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Thu, 19 Jan 2017 09:04:51 +0100 Subject: [PATCH] Add zsh completion for multiple service for 'docker service ps' Signed-off-by: Steve Durrheimer --- contrib/completion/zsh/_docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index a822605d1a..813f7a7181 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -1876,7 +1876,7 @@ __docker_service_subcommand() { "($help)--no-resolve[Do not map IDs to Names]" \ "($help)--no-trunc[Do not truncate output]" \ "($help -q --quiet)"{-q,--quiet}"[Only display task IDs]" \ - "($help -)1:service:__docker_complete_services" && ret=0 + "($help -)*:service:__docker_complete_services" && ret=0 case $state in (filter-options) __docker_service_complete_ps_filters && ret=0