diff --git a/README.md b/README.md index 4497180..8649b1c 100644 --- a/README.md +++ b/README.md @@ -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).