Show HN: ChatGDB – GPT-Powered GDB Assistant
Is there something like this for the command line in general? I'd love to have a ? command that takes an optional prompt and feeds my current shell history to chat gpt and gets a recommendation for the last command that failed.<p>Something like <a href="https://github.com/nvbn/thefuck">https://github.com/nvbn/thefuck</a> but with some intelligence instead of hard-coded rules.<p>That's somewhat problematic if you have secrets in there, but you could just not use it if you know you have sensitive things in your shell history. You still need to be aware of that without ChatGPT since most systems save your shell history to the file system where it could remain accessible for much longer than you'd think. IIRC they don't use things from the API for training, but I wouldn't depend on that being safe.