Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Shell
  3. oh-my-git

oh-my-git

MITShellv1.4

An opinionated, informative Git prompt for bash and zsh that displays repository status with custom symbols.

GitHubGitHub
3.7k stars281 forks0 contributors

What is oh-my-git?

oh-my-git is a shell prompt enhancement tool that displays detailed Git repository status directly in the terminal. It provides real-time visual indicators for branch state, uncommitted changes, remote synchronization, and other Git operations, eliminating the need to repeatedly run `git status`.

Target Audience

Developers who use Git extensively in bash or zsh shells and want immediate, at-a-glance repository status without interrupting their workflow.

Value Proposition

It offers a highly informative yet customizable prompt that improves Git awareness and productivity, with support for themes, custom symbols, and per-repository configuration.

Overview

An opinionated git prompt for bash and zsh

Use Cases

Best For

  • Enhancing terminal prompts with detailed Git status information
  • Visualizing branch divergence and remote tracking states
  • Monitoring staged, modified, and untracked files in real-time
  • Customizing shell prompts with unique symbols and themes
  • Improving workflow awareness during merges, rebases, and detached HEAD states
  • Integrating Git status with virtualenv or other shell customizations

Not Ideal For

  • Environments using Cygwin or non-standard Windows terminals
  • Very large Git repositories where prompt latency is a critical concern
  • Users who prefer minimal terminal setups without installing custom fonts
  • Teams or systems relying on Git versions older than 1.8.4

Pros & Cons

Pros

Comprehensive Git Status

Displays symbols for untracked files, staged changes, modifications, and remote tracking, providing real-time repository awareness without running extra commands.

High Customizability

Allows overriding default symbols via shell variables and supports multiple themes like oppa-lana-style, with per-repository disabling for performance control.

Shell and Tool Integration

Works with both bash and zsh, integrates with antigen for zsh, and offers a callback function for proper Python virtualenv display.

Performance Flexibility

Can be disabled per-repository via .git/config to avoid slowdowns in large repos, as mentioned in the README for handling performance issues.

Cons

Font and Terminal Dependencies

Requires patched fonts like Awesome-Terminal-Fonts for full theme support, which can be a setup barrier and cause display issues if not configured correctly.

Bash-Specific Visual Issues

On bash, the last symbol can appear broken with non-black backgrounds, requiring manual color adjustments in .bashrc, as admitted in the troubleshooting section.

Limited Cross-Platform Testing

Only tested on Mac and Ubuntu; known issues with Cygwin and lack of support for other environments, reducing reliability on diverse systems.

Setup and Maintenance Overhead

Installation involves cloning repos, modifying shell startup files, and font configuration, which can be complex and error-prone for casual users.

Frequently Asked Questions

Quick Stats

Stars3,714
Forks281
Contributors0
Open Issues41
Last commit4 years ago
CreatedSince 2013

Tags

#developer-tools#productivity#shell-scripting#terminal-enhancement#git-prompt#bash#command-line#zsh

Built With

B
Bash
z
zsh

Included in

Shell36.8kZSH Plugins17.6kTerminals Are Sexy12.9k
Auto-fetched 3 hours ago

Related Projects

powerlevel10kpowerlevel10k

A Zsh theme

Stars54,779
Forks2,432
Last commit1 month ago
spaceshipspaceship

🚀✨ Minimalistic, powerful and extremely customizable Zsh prompt

Stars20,546
Forks970
Last commit9 days ago
purepure

Pretty, minimal and fast ZSH prompt

Stars14,360
Forks1,008
Last commit7 days ago
powerlevel9kpowerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.

Stars13,423
Forks915
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub