sag@lemm.ee to linuxmemes@lemmy.world · 2 年前2Lazy2Typewww.commitstrip.comimagemessage-square70fedilinkarrow-up11.12K
arrow-up11.12Kimage2Lazy2Typewww.commitstrip.comsag@lemm.ee to linuxmemes@lemmy.world · 2 年前message-square70fedilink
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkarrow-up19·2 年前id type out more ~/.bash_history | grep ls and copy, paste before id type out ls tbh
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up7·edit-22 年前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.
minus-squareNightAuthor@lemmy.worldlinkfedilinkEnglisharrow-up4·2 年前This whole post is ridiculous, idk if its possible to get whooshed in here.
minus-squarebitwaba@lemmy.worldlinkfedilinkarrow-up1·2 年前Yeah 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·2 年前Probably, but I’ll spread the good word anyway.
minus-squareCrass Spektakel@lemmy.worldlinkfedilinkarrow-up2·2 年前at least you avoided a “useless cat” by using “more” instead. Respect Bro!
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up1·edit-22 年前You 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 lsand copy, paste before id type outlstbhWhy 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 pastebefore 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.
Useless use of
moreat least you avoided a “useless cat” by using “more” instead. Respect Bro!
You can pipe it to wl-copy, and then when you need it all you need to type is wl-paste