opensouls / terminal-copilot

A smart terminal assistant that helps you find the right command.
Apache License 2.0
572 stars 43 forks source link

Doesn't work in bash, in Linux #7

Closed jsribeiro closed 1 year ago

jsribeiro commented 1 year ago

After seeing the code, I understand you're asking ChatGPT for commands for zsh in macOS.

You should either detect the OS and shell being used, make it clear the environment is not supported when running the command, or at least make it clear on the documentation/README that this is the case.

Currently failing on bash actually because it can't find the "alias" command (which is a builtin in bash, not a command).

JoelKronander commented 1 year ago

Thanks! Fixed!

Let me know if I missed something, and it still dosen't work @jsribeiro