Compare commits

...

2 Commits

Author SHA1 Message Date
Sumathi Dhanasekaran 5c2af603ad
Merge 3dc13483c1 into 8d5a945c93 2025-08-25 22:01:16 +01:00
Sumathi Dhanasekaran 3dc13483c1
Update README.md - Zsh rebuilding the completion cache twice
Zsh rebuilding the completion cache twice
2025-03-13 13:28:59 +00:00
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 ### Contributing
Contributions are welcome, see [CONTRIBUTING](https://github.com/zsh-users/zsh-completions/blob/master/CONTRIBUTING.md). Contributions are welcome, see [CONTRIBUTING](https://github.com/zsh-users/zsh-completions/blob/master/CONTRIBUTING.md).