dave1010 / clipea

📎🟢 Like Clippy but for the CLI. A blazing fast AI helper for your command line
MIT License
299 stars 12 forks source link

Bash history and edits #39

Open lucaspar opened 5 months ago

lucaspar commented 5 months ago

These changes improve integration with Bash and add inline editing. The video shows the edited command available with the up arrow after clipea terminates:

demo

Let me know what you think.

I tried not breaking zsh functionality and working around what was there, but it'd be good if someone else could try it on zsh next.

We'll probably reduce the output verbosity before merging, I left it in the demo to show what's happening.