From f3c9cdadd3a96e0e67d512de25c18a5c91b5fc57 Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Tue, 22 Nov 2016 08:01:45 +0100 Subject: [PATCH] Add zsh completion for 'docker image ls --filter reference' Signed-off-by: Steve Durrheimer --- contrib/completion/zsh/_docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 0619618534..dd72b2d61d 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -399,11 +399,11 @@ __docker_complete_images_filters() { declare -a boolean_opts opts boolean_opts=('true' 'false') - opts=('before' 'dangling' 'label' 'since') + opts=('before' 'dangling' 'label' 'reference' 'since') if compset -P '*='; then case "${${words[-1]%=*}#*=}" in - (before|since) + (before|reference|since) __docker_complete_images && ret=0 ;; (dangling)