cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agoLinux Userslemmy.mlimagemessage-square151fedilinkarrow-up11.32Karrow-down128cross-posted to: [email protected]
arrow-up11.29Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square151fedilinkcross-posted to: [email protected]
minus-squareaeharding@vger.sociallinkfedilinkarrow-up34·1 month agoThe number of people who don’t reverse-I-search is too damn high
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·29 days agoIt was quite a while before I realised that was possible. Then not long after starting to use it, that I got fed up and just started opening up the history file and searching in it.
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up3·29 days agowhy not history | grep -i and the search term? even if there are several, you can use ! and the command’s line number to run it again
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·29 days agohistory is shell dependent.
The number of people who don’t reverse-I-search is too damn high
CTRL+R for those unitiated
reverse-i-search + fzf = <3
It was quite a while before I realised that was possible.
Then not long after starting to use it, that I got fed up and just started opening up the history file and searching in it.
why not
history | grep -iand the search term?even if there are several, you can use ! and the command’s line number to run it again
historyis shell dependent.