this post was submitted on 24 Mar 2025
443 points (93.0% liked)
linuxmemes
24335 readers
1592 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
3. Post Linux-related content
sudo
in Windows.4. No recent reposts
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.