docker command completion for the fish shell.
- fish = awesome
- docker = awesome
- completion = awesome²
mkdir ~/.config/fish/completions
wget https://raw.github.com/barnybug/docker-fish-completion/master/docker.fish -O ~/.config/fish/completions/docker.fish
fisher install barnybug/docker-fish-completion
fish will show up the new completions straight away, no reload necessary.
% docker run -[TAB]
--attach (Attach to stdin, stdout or stderr.)
...
% docker run -t -i [TAB]
busybox:latest (Image)
ubuntu:12.04 (Image)
% docker run -t -i busybox:latest
/ #
- parameters
- commands
- containers
- images
- repositories