SagXD@lemm.ee to linuxmemes@lemmy.world · 1 year ago2Lazy2Typewww.commitstrip.comimagemessage-square68fedilinkarrow-up11.07Karrow-down113
arrow-up11.06Karrow-down1image2Lazy2Typewww.commitstrip.comSagXD@lemm.ee to linuxmemes@lemmy.world · 1 year agomessage-square68fedilink
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkarrow-up18·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-up3·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-squareCrass Spektakel@lemmy.worldlinkfedilinkarrow-up2·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
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