1. 25
  1.  

  2. 6

    I don’t understand the use-case for this. Why would I want a framework for my prompt? What would I want to put there that would require a framework?

    1. 12

      It appears to be a ‘framework’ for building/customizing prompts, which I think is quite cool (making zsh promts using zsh’s built-in prompt format stuff is really annoying).

      1. 1

        ¯\_(ツ)_/¯ it hasn’t really been that annoying to me. Maybe my prompt is just not complex enough, but again, I don’t know what kind of complexity you would want in a shell prompt.

        1. 2

          A quick glance through the examples seem to indicate it’s mostly about setting colors.

          For what it’s worth, the project Readme is pretty damn good. It has screenshots, examples, and a capsule documentation.

          1. 4

            Sure, setting colors, text/symbols, etc. It was meant to be a pet project anyway, for me to learn Nim and get rid of oh-my-zsh altogether. And thanks! I take special pride in my documentation.

            1. 1

              Fair enough. I used nim to make an exact clone of another IRC bot I’d made.

              (Although, I can’t see the point of oh-my-zsh, either.)

        2. 1

          I’d find it far more annoying to have to carry around some framework . I setup my zsh prompt 25 years ago and have barely touched it since. I don’t especially remember it being particular annoying or tricky to do.

        3. 2

          I mean, yeah, the use-case isn’t all that much. Generally, customizing your prompt is a one-time thing. This project draws inspiration from Sindre Sorhus’ pure. Just wanted to write a Nim implementation of something similar… and this is what I ended up with :)

          And the word ‘framework’ is the best thing I could think of to describe it.

        4. 2

          This looks nice. Happy to see it’s in Nim too. Excited to see more projects written with Nim appearing as the language becomes more and more stable.

          1. 2

            Thank you! Nim is such a pleasure to work with.

          2. 0

            /s/nottheonion