kojix2 / chatgpt-cli

Yet another ChatGPT command line tool
https://kojix2.github.io/chatgpt-cli/
MIT License
25 stars 1 forks source link

Starting at the beginning of a line ! {} command substitution does not work #15

Closed kojix2 closed 11 months ago

kojix2 commented 11 months ago

The reason is simple.

> !{cmd}

chatgpt-cli attempts to execute the command {cmd}. It would be better to add an exception for lines starting with !{