Colorful Statusline Polished
Comprehensive setting designed for colorful, status, line, ansi. Includes structured workflows, validation checks, and reusable patterns for statusline.
Colorful Statusline Polished
Enhanced status line with color-coded information showing model, directory, and git branch at a glance.
When to Use This Setting
Apply this setting when you need to:
- Quickly identify the current model, working directory, and git branch with visual color differentiation
- Replace the default plain-text statusline with a more readable color-enhanced version
- Display essential development context information without cluttering the terminal interface Consider alternatives when:
- Your terminal does not support ANSI color codes and would show raw escape sequences instead of colors
- You want a more detailed statusline with additional metrics beyond model, directory, and branch
Quick Start
Configuration
name: colorful-statusline-polished type: setting category: statusline
Example Application
claude setting:apply colorful-statusline-polished
Example Output
Setting applied. Changes:
- statusLine: Colorful display with model, directory, and git branch
- Displays: [Model] Directory | Branch
Core Concepts
Colorful Display Overview
| Aspect | Details |
|---|---|
| Model Display | Shows the active Claude model name in the status bar header |
| Directory Info | Displays the current working directory basename for project context |
| Git Branch | Shows the active git branch name when inside a git repository |
| Color Coding | Uses ANSI escape codes to differentiate information types visually |
Status Line Data Flow Architecture
+---------------------------+
| JSON Stdin Input |
| model.display_name |
| workspace.current_dir |
+---------------------------+
|
+----+----+
| |
v v
+--------+ +----------+
| Model | | Directory|
| Name | | Basename |
+--------+ +----------+
|
v
+---------+
| Git |
| Branch |
| Check |
+---------+
|
v
+---------------------------+
| [Model] Dir | Branch |
| (color-coded output) |
+---------------------------+
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
| statusLine.type | string | "command" | Status line type using shell command for dynamic content |
| statusLine.command | string | N/A | Bash script that extracts model and directory from JSON stdin |
| Model Color | string | "blue" | ANSI color applied to the model name display |
| Directory Color | string | "green" | ANSI color applied to the directory name display |
| Branch Color | string | "yellow" | ANSI color applied to the git branch name display |
Best Practices
- Verify color support in your terminal - Before applying, confirm your terminal emulator supports ANSI color codes. Most modern terminals do, but some minimal or headless environments may not.
- Customize colors for your theme - If your terminal uses a dark theme, the default colors should work well. For light themes, you may need to adjust the ANSI color codes for better contrast.
- Keep the display minimal - The colorful statusline intentionally shows only three pieces of information. Resist the urge to add more data points, as the value comes from quick readability.
- Use alongside terminal themes - Pair the colorful statusline with a terminal color scheme that complements the ANSI codes used. This creates a cohesive visual experience.
- Test with different model names - Longer model names may affect the statusline layout. Test with various models to ensure the display remains readable at your typical terminal width.
Common Issues
- Raw escape codes visible - If you see characters like \033[34m instead of colored text, your terminal does not support ANSI colors. Switch to a compatible terminal emulator.
- Git branch not showing - The branch display requires being inside a git repository. Outside of git repositories, only the model and directory are shown.
- Directory name too long - The statusline uses the directory basename, not the full path. If even the basename is long, it may push other elements off the visible area of your terminal.
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
Project Standards Config
Claude Code settings preset that enforces consistent coding standards. Configures TypeScript strict mode, ESLint rules, Prettier formatting, and naming conventions.
Bedrock Configuration Blueprint
All-in-one setting covering configure, claude, code, amazon. Includes structured workflows, validation checks, and reusable patterns for api.
Refined Corporate Preset
Production-ready setting that handles configure, proxy, settings, corporate. Includes structured workflows, validation checks, and reusable patterns for api.