TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
9.41k stars 741 forks source link

[Contribution] ZSH Completion file #559

Open obeone opened 4 months ago

obeone commented 4 months ago

Hi,

I (no ok, not me, GPT-4) created a very performant ZSH completion file for sgpt command. You can find it here, fell free to add it to the project: https://gist.github.com/obeone/dc66f2ca40b8254edab61ac50cdec0f3

To give some context: While working on a custom GPT "ZSH Expert" that I am creating, I tested asking it for a completion for sgpt, and the result is surprisingly very good!

obeone commented 3 months ago

I made some change to the original script :