A minimal, one-line ZSH prompt that shows only essential information and stays out of your way.
Lean is a minimal, one-line ZSH prompt that evolved from the 'pure' prompt to offer a cleaner, single-line interface. It displays only essential information like the current directory, git status, and background jobs, utilizing the right side of the terminal to keep the left prompt sparse. The goal is to reduce visual clutter while providing context when needed.
ZSH users who prefer a minimalist terminal experience, especially those transitioning from multi-line prompts like 'pure' or seeking a configurable, unobtrusive prompt.
Developers choose Lean for its balance of minimalism and functionality—it stays out of the way by default but reveals key details (like git dirty status or SSH indicators) precisely when they're relevant, all in a single line.
Pretty, minimal, one-line, fast ZSH prompt
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Starts with only '%' and '~', revealing contextual info like git status or SSH indicators only when needed, keeping the terminal uncluttered as shown in the lean.gif example.
Utilizes the right side of the terminal for details like path and git info, leaving the left prompt clean for commands, which maximizes screen real estate.
Shows truncated branch names and dirty status configurable via PROMPT_LEAN_VCS, providing essential version control info without visual overload.
Allows customization of colors with PROMPT_LEAN_COLOR1/2, path shortening methods, and toggles for features like Vim mode or tmux indicators.
Requires ZSH with PROMPT_SUBST set, limiting compatibility in environments using Bash or other shells, as noted in the Installation section.
Users must edit files like .zshrc to set variables and rely on plugin managers like zgen or prezto for installation, adding setup complexity.
Branch names are truncated to 20 characters and paths shortened by default, which might obscure critical details for some workflows without customization.