This commit is contained in:
Sumathi Dhanasekaran 2025-04-12 23:50:31 +05:30 committed by GitHub
commit bf2f0b8928
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -83,6 +83,14 @@ rm -f ~/.zcompdump; compinit
---
Second Solution:
zsh-completions as a plugin, they suggest manually adding its source directory to fpath before sourcing oh-my-zsh.sh.
This ensures Zsh loads the completion files only once, improving performance.
Recommended Fix:
Instead of the existing method, they propose adding this line:
fpath=($ZSH/custom/plugins/zsh-completions/src $fpath)
### Contributing
Contributions are welcome, see [CONTRIBUTING](https://github.com/zsh-users/zsh-completions/blob/master/CONTRIBUTING.md).