This is a ZSH plugin all oh-my-zsh-compatible frameworks to easily load the completions for docker and docker-compose directly from the Docker for Mac app.
Add chr-fritz/docker-completion.zshplugin to your .zsh_plugins.txt and execute antibody update.
Add antigen bundle chr-fritz/docker-completion.zshplugin to your .zshrc
- cd to your
oh-my-zshplugins directory (~/.oh-my-zsh/custom/plugins) git clone https://github.com/chr-fritz/docker-completion.zshplugin docker-completion- Add docker-completion to your plugins in your
.zshrc
...
plugins=( ... docker-completion ...)
...Add zgen load chr-fritz/docker-completion.zshplugin to your .zshrc with your other load commands.
- Clone this repository, then add its bin directory to your
$PATH. - Add
source /path/to/here/docker-completion.zshpluginto your.zshrcfile.
Apache License 2.0 © 2020 Christian Fritz