mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Merge pull request #5968 from albers/completion-fix-running-services
Fix bash completion for running services
This commit is contained in:
commit
cc62764c12
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ __docker_compose_complete_services() {
|
|||
|
||||
# The services for which at least one running container exists
|
||||
__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") )
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue