0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 150 forks source link

"open" is not working #26

Closed Goosegit11 closed 1 year ago

Goosegit11 commented 1 year ago

I see that this application is developed by a Mac user and for Mac users, so there's some problems with it running on GNU/Linux. So in line 263 you have the command "open". In GNU/Linux there is no such command, but its counterpart is "xdg-open". You can easily make the script check the system and then use "xdg-open" or "open" depending on the system.

0xacx commented 1 year ago

This issue has been addressed in #33