You're viewing a single thread.
id type out
more ~/.bash_history | grep ls
and copy, paste before id type outls
tbh19 0 ReplyWhy 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.
7 0 ReplyPretty sure you just got wooshed...
1 0 ReplyThis whole post is ridiculous, idk if its possible to get whooshed in here.
4 0 ReplyYeah 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
1 0 Reply
Probably, but I'll spread the good word anyway.
1 0 Reply
Useless use of
more
2 1 Replyat least you avoided a "useless cat" by using "more" instead. Respect Bro!
2 1 ReplyYou can pipe it to wl-copy, and then when you need it all you need to type is wl-paste
1 0 Reply