brgmnn / fish-docker-compose

Fish shell completions for docker-compose
MIT License
74 stars 10 forks source link

Autocompletion error #9

Closed AlterEgo7 closed 7 years ago

AlterEgo7 commented 7 years ago

Describe the problem

Autocomplete on service name produces the following error:

~/.config/fish/completions/docker-compose.fish (line 5): switch: Expected exactly one argument, got 2

    switch $file_version
           ^
in function '__fish_docker_compose_all_services'
    called on standard input

in command substitution
    called on standard input

Software versions

Fish Shell version: 2.6.0 Docker Compose version: 1.16.1 Compose file version: 2.1

brgmnn commented 7 years ago

Thanks for filing a bug, I'll take a look at it :)

AlterEgo7 commented 7 years ago

Nice. Thanks for the quick resolution.