• grrgyle@slrpnk.net
    link
    fedilink
    arrow-up
    7
    ·
    18 hours ago

    Congratulations! I remember where I was when I first learned it (in a noisy server room at the back of a machine shop).

    Now pair it with FZF for fuzzy finding – it’s surprisingly easy to set up, just following any guide. It’s insanely useful. I find myself even doing things like typing:

    $ xinput --disable $(xinput --list | grep -i touchpad | grep 'id=[0-9]\+' -o | cut -d= -f2)  # Disable synaptic touchpad trackpad pointer
    

    commands with these like comments on the ends as sort of “tags” so I can ctrl+r search for them later. Yes, I know I could just use a named function, but this is like the step just before that–before I know if I’ll be issuing the same command all the time, or just for the next couple weeks. (This one was from when I was resting my notebook on my laptop.)

    • oddlyqueer@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 hours ago

      I like this; I have a lot of commands that I don’t use often enough to justify an alias, but still need to rerun all the time. thanks!