Closed KuringM closed 1 month ago
Add following content to .zshrc
.
autoload -Uz compinit bashcompinit
compinit
bashcompinit
Completions should be correctly installed by your package manager. If not, run as root:
mkdir /usr/local/share/zsh/site-functions
rg --generate=complete-zsh >/usr/local/share/zsh/site-functions/_rg
git's completion file is shipped with zsh, while rg's is not.
You should install it manually, especially when you install rg by cargo.
Thank you for solving my problem 👍
mini .zshrc