Installed pre-commit successfully using the following command in VSCode:
python3 -m pip install pre-commit --user
but when I try to do the pre-commit install, I get the error message:
zsh: command not found: pre-commit
Try adding this command to your .zshrc so that it recognizes your .bashrc commands, something similar to yours was happening to me.
[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'
for more information: How can you export your .bashrc to .zshrc?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With