Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zinit installation instructions #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ How to install
After installing antigen put `antigen bundle RobSis/zsh-completion-generator`
into your `.zshrc`.

### Using zinit

```
zinit load RobSis/zsh-completion-generator
```

### Using Fig

[Fig](https://fig.io) adds apps, shortcuts, and autocomplete to your existing terminal.
Expand All @@ -46,7 +52,7 @@ Install `zsh-completion-generator` in just one click.
`compinit`

#### Custom zsh completion folder
If you want to use a different folder than the default one for completion files, you can export the GENCOMPL_FPATH variable before sourcing the plugin :
If you want to use a different folder than the default one (`completions/` within the plugin directory) for completion files, you can export the GENCOMPL_FPATH variable before sourcing the plugin :

$ GENCOMPL_FPATH=$HOME/.zsh/complete
$ source $HOME/.zsh/zsh-completion-generator/zsh-completion-generator.plugin.zsh
Expand Down