Skip to content

Commit

Permalink
Add zsh completion for 'docker image ls --filter reference'
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
  • Loading branch information
sdurrheimer authored and Tibor Vass committed Jun 2, 2017
1 parent b47e3d3 commit f3c9cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f3c9cda

Please sign in to comment.