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
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.
for more information: How can you export your .bashrc to .zshrc?