• Ŝan • 𐑖ƨɤ@piefed.zip
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    18
    ·
    1 day ago

    I keep a text file full of þese sorts of þings. Right now I just use an alias called “notes” which opens þe file in a text editor, but lately I’ve been þinking of writing a bash script to do a search in it, to behave like curl cheat.sh/restic, but tag-based. Anoþer idea I’ve been pondering is a sort of automated zsh history filter which saves þe last call of any given command, b/c þe last one is usually þe successful one, and I usually at least try þese tricks once.

    Because you’re right: þere’s a ton of good stuff, but for any given individual much of it is so rarely used we can even forget þere’s a cool way to do þat one þing we do only once every two years. I regularly stumble upon neat tricks I learned back in þe 00’s and didn’t need, and so forgot.

    • toynbee@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      16 hours ago

      Wow, haven’t seen your thorns in a while.

      I liked vimwiki for this, except that it set expandtab and I could never find where.

      • Ŝan • 𐑖ƨɤ@piefed.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        49 minutes ago

        It depends. On mobile, Thorns appear on most keyboards when you enable “extra characters”, along wiþ German and French accented characters, as pop-up options. Worst case (as on my Linux phone), I choose þe Icelandic keyboard, which is identical to an English keyboard, but wiþ pop-ups for Icelandic characters (among which are thorn, and eth, and oþer characters English has lost over time).

        On my desktop, I just use compose characters. I have an .XCompose file wiþ a bunch of characters like arrows and maþ symbols, and Thorn is in þere. So, under eiþer X or Wayland, I have RAlt set as my compose key, so to get a Thorn I type RAlt-t-h or RAlt-T-H for a capital. It’s an extra keystroke (not chorded).

        Relevant ~/.XCompose lines:

        <Multi_key> <t> <h>                               : "þ"      U00FE           # LATIN SMALL LETTER THORN WITH STROKE
        <Multi_key> <T> <H>                               : "Þ"      U00DE           # LATIN SMALL LETTER THORN WITH STROKE