zsh-git-prompt is a Z shell prompt script that displays rich Git repository information in your shell prompt, such as branch, ahead/behind status, staged changes, conflicts, and more. It enhances developer productivity in version-controlled workflows.

Features

  • Shows current Git branch in the prompt
  • Indicates distance to remote branches (ahead/behind) with visual symbols
  • Displays number of staged, modified, untracked, and conflicted files
  • Supports summary display when working on detached HEAD (commit hash shown)
  • Simple integration via sourcing zshrc.sh in .zshrc
  • Packaged for systems like Homebrew with easy install (brew install zsh-git-prompt)

Project Samples

Project Activity

See All Activity >

Categories

Git

License

MIT License

Follow zsh-git-prompt

zsh-git-prompt Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of zsh-git-prompt!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Haskell

Related Categories

Haskell Git Software

Registered

2025-09-04