• katy ✨
    link
    fedilink
    199 months ago

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

    • @[email protected]
      link
      fedilink
      7
      edit-2
      9 months 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
            19 months 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

    • Crass Spektakel
      link
      fedilink
      29 months ago

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