• katy ✨
    link
    fedilink
    191 year 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
      1 year 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
            11 year 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
      21 year ago

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