sag to [email protected] • 2 years ago2Lazy2Typewww.commitstrip.comimagemessage-square71fedilinkarrow-up11.1K
arrow-up11.1Kimage2Lazy2Typewww.commitstrip.comsag to [email protected] • 2 years agomessage-square71fedilink
minus-squarekaty ✨linkfedilink19•2 years agoid type out more ~/.bash_history | grep ls and copy, paste before id type out ls tbh
minus-squareCrass Spektakellinkfedilink2•2 years agoat least you avoided a “useless cat” by using “more” instead. Respect Bro!
minus-square@[email protected]linkfedilink7•edit-22 years 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-square@[email protected]linkfedilink1•2 years agoProbably, but I’ll spread the good word anyway.
minus-square@[email protected]linkfedilinkEnglish4•2 years agoThis whole post is ridiculous, idk if its possible to get whooshed in here.
minus-square@[email protected]linkfedilink1•2 years 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-square@[email protected]linkfedilink1•edit-22 years 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
tbhat least you avoided a “useless cat” by using “more” instead. Respect Bro!
Useless use of
more
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.
Pretty sure you just got wooshed…
Probably, but I’ll spread the good word anyway.
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
You can pipe it to wl-copy, and then when you need it all you need to type is wl-paste