If I can’t remember the obscure command in the first place, how will I know that what the AI is suggesting is correct? I’ll need to look it up anyway.
I’m assuming the commands aren’t automatically executed, as that sounds absurd.
I’m assuming the commands aren’t automatically executed, as that sounds absurd.
Seeing how much some people trust LLMs, I wouln’t be surprised. We need to come up with an equivalent of Darwin Awards for computer systems.
Currently, the user has to be experienced enough to know if a command is safe to be executed. However, you are right, and I'll look into adding a safety feature that signifies if a command is potentially dangerous.
That is quite dangerous, and I assume that it is actually "on exit" and not "on save", as I assume it is implemented by creating a temp file and opening it with the editor. There are various ways that an editor can crash/abort which would automatically execute the command.