fix: readme auto-complete

This commit is contained in:
relikd
2025-09-10 13:48:44 +02:00
parent 9fbc733e0e
commit 09463b601d

View File

@@ -30,13 +30,13 @@ sudo ln -s $BREW_PY_CELLAR /opt/homebrew
```
And for auto-completion (zsh) add this to your `.zshrc`:
And for auto-completion (zsh) add this to your `.zshrc` (before `compinit`):
```sh
# shell-completion in zsh
if [ -d "$BREW_PY_CELLAR/share/zsh/site-functions" ]; then
fpath=($BREW_PY_CELLAR/share/zsh/site-functions $fpath)
fi
# brew.py zsh auto-complete
fpath=($BREW_PY_CELLAR/share/zsh/site-functions $fpath)
# if not defined already:
autoload -Uz compinit && compinit
```