Starship is a highly-configurable, cross-shell prompt. I recently switched to using it and it sped up my prompt rendering from being noticably slow and taking probably half a second to render to an imperceptible 0.03s rendering time. It actually does slightly more than my old prompt did as well even in that time.
My previous prompt, one that I’d been rocking for about 10 years, was defined in the dual behemoths that are Git’s contrib prompt script and my former prompt.zsh which called it and added a few other bits like per-host emoji for when I was SSH’d into another machine and some custom shortening of $PWD
. I dug it up so that I could show what it would look like:
hearthside(main *$%=)/app ❯
And the new one looks pretty similar. Mostly you’ll notice that I’ve changed color schemes to one inspired by the GitHub colorblind scheme, which I’ve really come to like. I’ve also swapped one set of funny symbols for another, and unfortunately you probably can’t see them in this text.
Top comments (0)