Home

Awesome

halostatue/fish-docker

Version

Completions for Docker in the fish shell, based on docker-fish-completion.

Comparisons with Other Docker Completions

Installation

Install with Fisher (recommended):

fisher install halostatue/fish-docker@v1.x
<details> <summary>Not using a package manager?</summary>

Copy completions/*.fish and conf.d/*.fish to your fish configuration directory preserving the directory structure.

</details>

System Requirements

gen_completions.rb

Ported from the Python script in docker-fish-completion to Ruby, fixing some bugs along the way. This should be considered the initial version of the script, as it does what the Python version did and no more. The plans are to simplify the generation process further so that the completions are more readily updated in place, and that commands that themselves have subcommands can be handled.

It has been tested with Ruby 2.7.

Usage / Updating

A Makefile has been added to make building this easier.

make
# OR

make docker
make docker-compose

# OR
./gen_completions.rb docker > completions/docker.fish
./gen_completions.rb docker-compose > completions/docker-compose.fish

Licence

MIT

Change Log

CHANGELOG

Contributing