Have been putting off pushing it to Github, think I'm gonna do that today.
Have been putting off pushing it to Github, think I'm gonna do that today.
https://github.com/TIAcode/LLMShellAutoComplete
Forgot to add needs tiktoken, openai and fzf. If someone knows how to do that command line query and replace on other than fish/nushell, please let me know.
If you have big atuin file though, creating indexes for session and cwd are good ideas so we can get the request out quickly..
edit: but much faster than searching or asking LLM for command line parameters instead
Though the idea of mistakenly putting credentials in the cli and it ending up in GPT is bothering me a bit.
One reason for this is that different programs have different rules for what should be escaped when, when you write a regex. For example, I think grep is a bit different from vim in this regard
I'd probably suck at it. No matter how frequently I use regex in :ex commands, I always screw up the escapes, substitutions, etc.
explain this please