• FreshLight@sh.itjust.works
    link
    fedilink
    arrow-up
    235
    arrow-down
    1
    ·
    4 days ago

    Oh fuck. I’ll use this from now on. Except for if I won’t use it next week. Then I’ll forget about it because my memory is a damn sieve.

    • Catoblepas@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      121
      arrow-down
      1
      ·
      4 days ago

      Just take the next step and make a text file you dump all these commands into and then forget about in a week. When you randomly stumble across it years from now you’ll be able to say “wow, I could have used this 10 months ago if I remembered it existed!”

        • variants@possumpat.io
          link
          fedilink
          English
          arrow-up
          32
          arrow-down
          1
          ·
          4 days ago

          I usually print these out and put them in a safe deposit box at a bank so I never lose them

      • prole@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        4
        ·
        4 days ago

        I keep a persistent “sticky note” (in KDE) drop down on my top bar where I copy/paste important commands, scripts, etc.

        I actually remember to use it sometimes.

    • Technofrood@feddit.uk
      link
      fedilink
      arrow-up
      11
      ·
      4 days ago

      Use a systemd timer to send yourself a reminder. Discoverd them recently myself and honestly liking them more than cron.

    • folkrav@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      I feel you. It’s however gotten a lot better since I turned some of these commands into abbreviations. They’re aliases that expands in place, more or less. Fish has them natively, I personally use zsh-abbr.

      • prole@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        Fish is super useful, but I usually only start it up if I’m having trouble finding or remembering a command.

        • folkrav@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          4 days ago

          Yeah, it’s a good shell. I’ve found the lack of compatibility with some bash tools to be inconvenient enough that I just went back to zsh and found alternatives for the parts that I liked about it. Works well enough for me.

          • prole@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            I’m relatively new to Linux in general (have only been on it for about a year and a half, but have taken to it like a fish to water), so forgive me if this is a dumb question, but what are some benefits to using zsh over bash? Are there any cons?

            • folkrav@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              3 days ago

              Honestly, it’s just another shell. Both Bash and ZSH happen to be mostly POSIX compliant, so stuff that works for Bash tends to work with ZSH too. For me it’s mostly just about the stuff I can add to it - I use the antidote plugin manager to get additional autocomplete, syntax highlighting, suggestions, async prompt updates, that kind of thing.

    • meiti@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Using a large shell history (currently at 57283 entries) along with readline (and sometimes fzf) has served me well over the past few yeas when trying to remember past commands.