mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Fix bash completion for running services
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
c15c79ed2f
commit
7846f6e2a0
@ -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…
x
Reference in New Issue
Block a user