mirror of https://github.com/docker/compose.git
Merge pull request #4682 from sdurrheimer/zsh-completion-images
Add zsh completion for 'docker-compose images'
This commit is contained in:
commit
72b1b24605
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue