Feature Request: Customizable status line with git branch display (oh-my-zsh style)
Feature Request
Summary
Add a customizable status line in the Claude Code prompt dialog that can display contextual information like the current git branch, similar to oh-my-zsh prompt customization.
Current Behavior
The prompt dialog shows basic information (Claude Code version, model, working directory) but doesn't display the current git branch or other dynamic git/project information that developers commonly reference.
Proposed Behavior
Add a customizable status line that can display:
- Current git branch name
- Git status indicators (dirty/clean, ahead/behind)
- Custom user-defined information
- Similar to oh-my-zsh theming capabilities
Use Case
When working with git repositories, developers frequently need to know which branch they're on. Currently, users must:
- Ask Claude to check the branch, or
- Switch to another terminal to run
git branch --show-current
Having this information visible in the prompt dialog would:
- Reduce context switching
- Prevent accidental commits to wrong branches
- Improve workflow efficiency
- Match the developer experience from modern terminal prompts
Suggested Implementation
- Allow users to configure a status line template in Claude Code settings
- Support common git variables (branch, status, remote)
- Allow custom shell command output (like oh-my-zsh)
- Provide sensible defaults for common use cases
Example
Claude Code v2.0.73
Sonnet 4.5 • Claude Max
~/Documents/GitHub/ProductConfigurator (develop)
or
Claude Code v2.0.73 | develop ✓ | Sonnet 4.5
~/Documents/GitHub/ProductConfigurator
Additional Context
This would be especially valuable given the git-aware features already built into Claude Code (commit creation, PR management, etc.).
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗