Merge pull request #4682 from sdurrheimer/zsh-completion-images

Add zsh completion for 'docker-compose images'
This commit is contained in:
Joffrey F 2017-03-30 13:44:42 -07:00 committed by GitHub
commit 72b1b24605
1 changed files with 6 additions and 5 deletions

View File

@ -3,11 +3,6 @@
# Description # Description
# ----------- # -----------
# zsh completion for docker-compose # zsh completion for docker-compose
# https://github.com/sdurrheimer/docker-compose-zsh-completion
# -------------------------------------------------------------------------
# Version
# -------
# 1.5.0
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
@ -253,6 +248,12 @@ __docker-compose_subcommand() {
(help) (help)
_arguments ':subcommand:__docker-compose_commands' && ret=0 _arguments ':subcommand:__docker-compose_commands' && ret=0
;; ;;
(images)
_arguments \
$opts_help \
'-q[Only display IDs]' \
'*:services:__docker-compose_services_all' && ret=0
;;
(kill) (kill)
_arguments \ _arguments \
$opts_help \ $opts_help \