di-sukharev / opencommit

just a GPT wrapper for git — generate commit messages by an LLM in 1 sec — works best with Claude 3.5 — supports local models too
https://www.npmjs.com/package/opencommit
MIT License
6.19k stars 331 forks source link

zsh: command not found: oc #56

Closed evanmarshall-dev closed 1 year ago

evanmarshall-dev commented 1 year ago

Hello. I entered a repository/project. Installed opencommit (oc) globally via yarn add global opencommit, and when I go to assign api key or emoji to true, I receive the above error: zsh: command not found: oc OR zsh: command not found: opencommit. I am using wsl 2 on Windows 11. I am not sure if that is the problem. I went through the same process running zsh on my MacBook and it works fine.

di-sukharev commented 1 year ago

looks like your windows env issue, try to google pls

CamiloBernal commented 1 year ago

Hi, Please reopen the issue, as I am testing on Linux Manjaro 23 with zsh and encountering the same error message 'zsh: command not found: oc. In my case, I am using nvm and npm. Thank you very much.