alecsargent@lemmy.zip to linuxmemes@lemmy.world · 2 days agoThat is a lot of flagslemmy.zipexternal-linkmessage-square119linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkThat is a lot of flagslemmy.zipalecsargent@lemmy.zip to linuxmemes@lemmy.world · 2 days agomessage-square119linkfedilinkfile-text
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up0·2 days agomore ~/.zsh_history | grep tar highlight copy paste move cursor to change file am i doing it right
minus-squarechellomere@lemmy.worldlinkfedilinkarrow-up0·2 days agoIf you use fzf you can just type “ctrl-r tar”
minus-squareHugh@programming.devlinkfedilinkarrow-up0·2 days agoYou don’t need more, you can just grep tar ~/.zsh_history If you only want the first ten results pipe to head. If you want more interactivity use less ~/.zsh_history Then press / to search. Press n for next match
more ~/.zsh_history | grep tar
highlight
copy
paste
move cursor to change file
am i doing it right
Press Ctrl-R then type “tar”.
If you use fzf you can just type “ctrl-r tar”
You don’t need more, you can just
grep tar ~/.zsh_historyIf you only want the first ten results pipe to head.
If you want more interactivity use
less ~/.zsh_historyThen press / to search. Press n for next match