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 151 forks source link

added a system detector - corrected shellcheck warnings #109

Open jupiter126 opened 1 year ago

jupiter126 commented 1 year ago
  1. Added a system check to remove \r when using linux. I guess this could be further refined for BSD's too.
  2. ran "shellcheck" on the script and removed all warnings (mostly quotes and unnecessary use of wc)