• katy ✨
    link
    fedilink
    192 years ago

    id type out more ~/.bash_history | grep ls and copy, paste before id type out ls tbh

    • Crass Spektakel
      link
      fedilink
      22 years ago

      at least you avoided a “useless cat” by using “more” instead. Respect Bro!

    • @[email protected]
      link
      fedilink
      7
      edit-2
      2 years ago

      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.

          • @[email protected]
            link
            fedilink
            12 years ago

            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