Also asking an AI to correct the command is huge, but takes time.
I use shell_gpt with a custom prompt bound to a hotkey that dumps my current terminal line into a local (Deepseek) AI which is prompted with some information about my system and a preferred reply format.
For example, I’ll type:
rsync movies/ media server but also do it recursively
Then press CTRL+L and a bash script copies the terminal input into a prompt that requests the AI return a properly formatted terminal command which it places into the terminal input. This way I can know what I want to do and forget the exact switch or option.
A different hotkey (CTRL+O) sends the terminal input to a Chatbot prompt for one-off answers.
I’m doing a bit more on the backend now (RAG using man pages, for example) for the Ctrl L command, but I used it with a simple prompt for several months. It’s like having a slight more intelligent tab completion.
Also asking an AI to correct the command is huge, but takes time.
I use shell_gpt with a custom prompt bound to a hotkey that dumps my current terminal line into a local (Deepseek) AI which is prompted with some information about my system and a preferred reply format.
For example, I’ll type:
Then press CTRL+L and a bash script copies the terminal input into a prompt that requests the AI return a properly formatted terminal command which it places into the terminal input. This way I can know what I want to do and forget the exact switch or option.
A different hotkey (CTRL+O) sends the terminal input to a Chatbot prompt for one-off answers.
I’m doing a bit more on the backend now (RAG using man pages, for example) for the Ctrl L command, but I used it with a simple prompt for several months. It’s like having a slight more intelligent tab completion.