Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greymd/docker-zsh-completion
Zsh completion for docker and docker-compose.
https://github.com/greymd/docker-zsh-completion
Last synced: 13 days ago
JSON representation
Zsh completion for docker and docker-compose.
- Host: GitHub
- URL: https://github.com/greymd/docker-zsh-completion
- Owner: greymd
- License: mit
- Created: 2017-01-26T05:25:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T13:09:10.000Z (17 days ago)
- Last Synced: 2024-10-27T14:41:54.118Z (17 days ago)
- Language: Shell
- Size: 329 KB
- Stars: 65
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LAST UPDATE:2024-10-27
# docker-zsh-completion
Zsh completion for [docker](http://docker.io) and [docker-compose](https://github.com/docker/compose).
Completion files on the original repositories are automatically imported to this repository every week. The schduled job is running to update them (please refer to [GitHub Actions workflow](.github/workflows) 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](https://github.com/zplug/zplug) users:
```sh
zplug "greymd/docker-zsh-completion"
```### For [Antigen](http://antigen.sharats.me/) users:
```sh
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`](https://github.com/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.