Merge pull request #5968 from albers/completion-fix-running-services

Fix bash completion for running services
This commit is contained in:
Joffrey F 2018-05-22 15:36:21 -07:00 committed by GitHub
commit cc62764c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ __docker_compose_complete_services() {
# The services for which at least one running container exists # The services for which at least one running container exists
__docker_compose_complete_running_services() { __docker_compose_complete_running_services() {
local names=$(__docker_compose_complete_services --filter status=running) local names=$(__docker_compose_services --filter status=running)
COMPREPLY=( $(compgen -W "$names" -- "$cur") ) COMPREPLY=( $(compgen -W "$names" -- "$cur") )
} }