SagXD@lemm.ee to linuxmemes@lemmy.world · 11 months ago2Lazy2Typewww.commitstrip.comimagemessage-square64fedilinkarrow-up11.02Karrow-down114
arrow-up11.01Karrow-down1image2Lazy2Typewww.commitstrip.comSagXD@lemm.ee to linuxmemes@lemmy.world · 11 months agomessage-square64fedilink
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up6·edit-211 months agoWhy do all that typing? Hit ctrl-r first then type ls. Bonus points if you hook fzf into it. fzf hooked into ctrl-r, a bash history of about 100k and HISTCONTROL=ignoreboth is magic. Note: backup your history file periodically, system crashes at the wrong time can zero it leaving you incompetent until it’s restored.
Why do all that typing? Hit ctrl-r first then type ls. Bonus points if you hook fzf into it.
fzf hooked into ctrl-r, a bash history of about 100k and HISTCONTROL=ignoreboth is magic.
Note: backup your history file periodically, system crashes at the wrong time can zero it leaving you incompetent until it’s restored.