❯_ gitprompt

November 8, 2025 · View on GitHub

A beautiful git prompt for zsh and bash.

Features

  • 256 colors support
  • Show current directory
  • Show git branch, status and push state

Usage

SzenarioCommandDescription
ad-hoc. <(curl gitprompt.sh)Use gitprompt in the current terminal session
permanentcurl gitprompt.sh/install | shInstall gitprompt in your home directory and alter the PATH.
manualcurl -sL https://gitprompt.sh > "$HOME/.gitprompt"Download gitprompt to your home directory. Load it by running . ~/.gitprompt &>/dev/null

For customization see .gitprompt file.