mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
793ca61354
new file: projects/github.com/zsh-users/zsh-completions/package.yml
21 lines
No EOL
543 B
Markdown
21 lines
No EOL
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"` |