I've gotten a lot of utility out of LLM Cmd (https://github.com/simonw/llm-cmd), but one thing I didn't like was that generated commands don't show up in my shell history.
I wrote a small shell function that loads the output commands as user input rather than executing them directly. This way, you can search through generated commands later!
I wrote a small shell function that loads the output commands as user input rather than executing them directly. This way, you can search through generated commands later!