pantry/projects/github.com/zsh-users/zsh-completions/README.md
andrejrabcenko 793ca61354 new file: projects/github.com/zsh-users/zsh-completions/README.md
new file:   projects/github.com/zsh-users/zsh-completions/package.yml
2023-09-19 14:39:20 -04:00

21 lines
543 B
Markdown

To activate these completions, add the following to your .zshrc:
```
if type tea &>/dev/null; then
FPATH=$ZSH_COMPLETIONS_ROOT/share/zsh-completions:$FPATH
autoload -Uz compinit
compinit
fi
```
You may also need to force rebuild `zcompdump`:
```
rm -f ~/.zcompdump; compinit
```
Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting to load these completions, you may need to run these commands:
`chmod go-w "$ZSH_COMPLETIONS_ROOT/share"`
`chmod -R go-w "$ZSH_COMPLETIONS_ROOT/share/zsh"`