⭐️

Docker Zsh Completion

Zsh completion for docker and docker-compose.

greymd
|
37 stars
3 forks

LAST UPDATE:2022-04-03

docker-zsh-completion

Zsh completion for docker and docker-compose. Completion files on the original repositories are automatically imported to this repository every week. The batch application is running to update them (please refer to execute.sh which is used by the batch).

Please follow the following instructions to import completion files (After the instllation, they are registered to zsh's fpath).

Installation

For zplug users:

zplug "greymd/docker-zsh-completion"

For Antigen users:

antigen bundle "greymd/docker-zsh-completion"

Why it is helpful?

It is good to manage completion files with Zsh's plugin managers. Because it is easy to delete particular completion function no longer used. However, plugin managers clone whole repositories for each plugin. Completion file for docker command is in the docker/cli repository. But it has slightly big repository size. It is waste of the disk space to download whole of the repository only for single Zsh completion file. The reason why I made it.