https://github.com/sainnhe/zsh-completions
Personal collection of zsh completion definitions.
https://github.com/sainnhe/zsh-completions
go npm rust yarn zsh zsh-completions
Last synced: 5 months ago
JSON representation
Personal collection of zsh completion definitions.
- Host: GitHub
- URL: https://github.com/sainnhe/zsh-completions
- Owner: sainnhe
- License: mit
- Created: 2020-04-12T05:55:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T23:40:55.000Z (12 months ago)
- Last Synced: 2024-11-02T00:23:16.781Z (12 months ago)
- Topics: go, npm, rust, yarn, zsh, zsh-completions
- Language: Shell
- Homepage:
- Size: 174 KB
- Stars: 15
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## zsh-completions
This project is my personal collection of zsh completion definitions, currently includes:
- [zsh-users/zsh-completions](https://github.com/zsh-users/zsh-completions)
- [zchee/zsh-completions](https://github.com/zchee/zsh-completions)
- [gradle/gradle-completion](https://github.com/gradle/gradle-completion)
- [conda-incubator/conda-zsh-completion](https://github.com/conda-incubator/conda-zsh-completion)
- [spwhitt/nix-zsh-completions](https://github.com/spwhitt/nix-zsh-completions)
- Some [custom](https://github.com/sainnhe/zsh-completions/tree/master/src/custom) completion definitions.## Installation
### Via Plugin Manager
Take [zinit](https://github.com/zdharma-continuum/zinit) for example:
```shell
zinit ice wait'0' lucid depth=1 \
atload"autoload -Uz compinit && compinit -u" \
atpull"zinit cclear && zinit creinstall sainnhe/zsh-completions"
zinit light sainnhe/zsh-completions
```**Note:** This repository contains some submodules, please make sure your plugin manager can update them.
### Manually
1. Clone this repository: `git clone --depth 1 https://github.com/sainnhe/zsh-completions.git`
2. Update submodules: `cd zsh-completions; git submodule init; git submodule update`
3. Add this to your `~/.zshrc`: `source /path/to/zsh-completions/zsh-completions.plugin.zsh`## License
See each submodule for detailed license information.
Other code goes to [MIT License](./LICENSE).