Pure is a Zsh prompt that shows path, git status, and timing with little visual noise. It installs via npm, Homebrew, or manual fpath setup.
Overview
Pure is a Zsh prompt theme designed to stay visually simple and responsive while surfacing useful context. It highlights the current directory, git branch cleanliness, asynchronous ahead or behind arrows, command duration past a threshold, and failure status via prompt color. Username and host appear mainly during SSH sessions or inside containers.
Git integration can be tuned or disabled with environment variables and zstyle options, including stash indicators, detailed dirty markers, optional Node.js version badges, Python virtualenv names, and nix-shell labels. Colors and symbols are customizable, and a hook allows prefix or suffix segments without forking the whole theme.
Installation paths include npm, Homebrew, manual clone into fpath, or bundled use through Prezto, oh-my-zsh, zim, sheldon, zplug, zinit, and similar Zsh frameworks. It requires Git and a supported Zsh version and documents UTF-8 locale needs for Unicode prompt glyphs.
Key features
- Async git ahead behind checks
- Dirty branch indicator
- Command runtime display
- Failed command prompt color
- SSH and container host hints
- VI-mode prompt symbol
- zstyle color customization
- Optional virtualenv and Node badges
Use cases
- Replacing cluttered default prompts
- Daily Git workflow visibility
- Custom Zsh prompt starting point
- Integration with Prezto or zim
- Remote SSH session awareness