sindresorhus/pure ? reverse-engineered prompt

Reverse engineered prompt

Build me a pretty, minimal, fast ZSH prompt that feels clean and stays out of the way.

I want it to show the current git branch, whether the repo is dirty, and if there are incoming or outgoing commits, but keep those checks fast and run them in the background so the prompt stays snappy. It should turn red after a failed command, show how long a command took when it runs longer than a few seconds, and only show my username and host when I’m on SSH or inside a container. I also want the current folder in the terminal title, and the title should update with the command while something is running.

Make it easy to install and easy to customize with a few config options for the prompt symbol, git arrows, timing threshold, and whether git or title features are enabled. If it makes sense, include support for VI mode and a simple way for me to add my own custom text to the prompt. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab