cm0002@lemmy.world to Programmer Humor@programming.dev · 1 day agoLinux Userslemmy.mlimagemessage-square136linkfedilinkarrow-up11.18Karrow-down120
arrow-up11.16Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square136linkfedilink
minus-squareaeharding@vger.sociallinkfedilinkarrow-up29·1 day agoThe number of people who don’t reverse-I-search is too damn high
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·7 hours 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·4 hours 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-up0·2 hours agohistory is shell dependent.
The number of people who don’t reverse-I-search is too damn high
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 -i
and the search term?even if there are several, you can use ! and the command’s line number to run it again
history
is shell dependent.CTRL+R for those unitiated
reverse-i-search + fzf = <3