this post was submitted on 24 Sep 2025
1276 points (98.2% liked)

Programmer Humor

26570 readers
2258 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] I_Am_Jacks_____@sh.itjust.works 39 points 3 days ago (2 children)

check out fzf (install fzf and add (assuming bash) eval "$(fzf --bash)" to your .bashrc) Makes ctrl+r a superpower

[–] aquovie@lemmy.cafe 5 points 3 days ago

It's awesome until you want to put the cursor in a specific spot of a previous command.

$ rm -f delete-me.txt
ctrl-r "me", ctrl-b, ctrl-k
$ rm -f delete

But I still use fzf because while I used to do the above, fzf offered more advantage that made switching worth it.

[–] TabbsTheBat@pawb.social 3 points 3 days ago

I'll try it if I don't forget it by the next time I have access to my PC lol :3