mirror of
https://github.com/docker/compose.git
synced 2025-05-10 17:40:15 +02:00
Merge pull request #2518 from albers/completion-config
Add bash completion for config subcommand
This commit is contained in:
commit
67829f08b6
@ -102,6 +102,11 @@ _docker_compose_build() {
|
||||
}
|
||||
|
||||
|
||||
_docker_compose_config() {
|
||||
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
|
||||
}
|
||||
|
||||
|
||||
_docker_compose_docker_compose() {
|
||||
case "$prev" in
|
||||
--file|-f)
|
||||
@ -373,6 +378,7 @@ _docker_compose() {
|
||||
|
||||
local commands=(
|
||||
build
|
||||
config
|
||||
help
|
||||
kill
|
||||
logs
|
||||
|
Loading…
x
Reference in New Issue
Block a user