Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Personal collection of zsh completion definitions.

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).