# olivierverdier/zsh-git-prompt

Informative git prompt for zsh

Repository: https://github.com/olivierverdier/zsh-git-prompt
Canonical: https://ross.abutalabs.com/products/zsh-git-prompt
Language: Haskell
License: MIT
License Family: permissive
Last push: 2023-11-08T03:54:12+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5970, "days_push": 1029, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1777, forks 392 (observed 2026-08-28T04:05:34.681481+00:00)

## What it is
A zsh plugin that displays informative git status in the shell prompt, including branch name, ahead/behind commit counts, and staged/changed/untracked file counts. It offers a Haskell implementation that is significantly faster than the original Python one.

## Use cases
- show git branch and status in my zsh prompt
- display how many commits I'm ahead or behind the remote
- see staged and unstaged file counts at a glance in the terminal
- fast git prompt for large repositories
- show merge conflicts and untracked files in the prompt

## When to choose
- you use zsh and want a detailed, at-a-glance git status in your prompt
- you want a fast prompt implementation for large git repositories
- you prefer a lightweight prompt plugin over a full framework like powerlevel10k

## When to avoid
- you use bash or another shell instead of zsh
- you already use a prompt framework (e.g., oh-my-zsh themes, starship, powerlevel10k) with git integration
- you need a minimal prompt without git information

## Facets
- artifact type: plugin
- maturity: maintenance
- function: developer-tools, version-control, terminal-ui
- domain: developer-tools, version-control
- platform: cli
- tags: zsh, git-prompt, shell-prompt, haskell, command-line, macos, linux

## Member repositories
- olivierverdier/zsh-git-prompt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.681481+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:13.800551+00:00, confidence not recorded.
  - readme: https://github.com/olivierverdier/zsh-git-prompt (fetched 2026-08-28T04:05:34.681481+00:00, sha 19be0d7e924c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
