sag@lemm.ee to linuxmemes@lemmy.world · 1 year ago2Lazy2Typewww.commitstrip.comimagemessage-square69fedilinkarrow-up11.12Karrow-down114
arrow-up11.1Karrow-down1image2Lazy2Typewww.commitstrip.comsag@lemm.ee to linuxmemes@lemmy.world · 1 year agomessage-square69fedilink
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkarrow-up19·1 year agoid type out more ~/.bash_history | grep ls and copy, paste before id type out ls tbh
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up7·edit-21 year 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.
minus-squareNightAuthor@lemmy.worldlinkfedilinkEnglisharrow-up4·1 year agoThis whole post is ridiculous, idk if its possible to get whooshed in here.
minus-squarebitwaba@lemmy.worldlinkfedilinkarrow-up1·1 year agoYeah it’s ridiculous. That’s the woosh. The statement was “I’d type more blah piped to ls then copy and paste before typing ls” It’s absurd. It’s obviously absurd. If you didn’t pick up on that, you got wooshed
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up1·1 year agoProbably, but I’ll spread the good word anyway.
minus-squareCrass Spektakel@lemmy.worldlinkfedilinkarrow-up2arrow-down1·1 year agoat least you avoided a “useless cat” by using “more” instead. Respect Bro!
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up1·edit-21 year agoYou can pipe it to wl-copy, and then when you need it all you need to type is wl-paste
id type out
more ~/.bash_history | grep ls
and copy, paste before id type outls
tbhWhy 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.
Pretty sure you just got wooshed…
This whole post is ridiculous, idk if its possible to get whooshed in here.
Yeah it’s ridiculous. That’s the woosh. The statement was “I’d type
more blah piped to ls then copy and paste
before typingls
”It’s absurd. It’s obviously absurd. If you didn’t pick up on that, you got wooshed
Probably, but I’ll spread the good word anyway.
at least you avoided a “useless cat” by using “more” instead. Respect Bro!
Useless use of
more
You can pipe it to wl-copy, and then when you need it all you need to type is wl-paste