A configurable bash statusline and audio/spinner pack for Claude Code

Layout and color variations

Quick Start
/plugin marketplace add jcraigk/nerdflair
/plugin install nerdflair@nerdflair
/nerdflair install
Restart Claude Code after install for the changes to take effect.
Features
- 3 layout modes: full (3 rows), compact (2 rows), minimal (1 row)
- Context bar: color shifts from green to red as context fills. The bar spans the auto-compact window (400K on 1M models by default, or whatever
/autocompact, autoCompactWindow or CLAUDE_CODE_AUTO_COMPACT_WINDOW set), with a marker where compaction fires; with auto-compaction off it spans the full context and the marker hides
- 3 color palettes: vibrant (full color), muted (desaturated), mono (grayscale)
- Custom spinner verbs: 150 themed thinking/working phrases
- Terminal bell: (tab indicator) on Notification, PermissionRequest, and Stop events
- Audio chimes (macOS, Linux): 20 styles, configurable per-event, adjustable volume
- Project folder display: always shows the launch directory, not the current subdirectory Claude may have navigated to
- Git branch, files edited, and lines added/removed
- Multi-repo folders and worktrees: launched in a folder that wraps several repos, the branch segment shows each repo that is off
main as repo:branch (collapsing to "N branches", or "N repos" when all are on main); linked worktrees get a tree icon
- Model name, followed by reasoning effort, extended thinking and fast mode (
xhigh~think~fast) and the output style behind a speech bubble icon (Explain), which condense to icons and then hide on narrow terminals
- Active MCP servers in one list, with connectors waiting on authentication dimmed at the end, or grouped by source with a glyph each (local, plugin, claude.ai connector, built-in) via
mcp-list grouped
- Session cost, API duration, and token throughput
- Chime style label (shown for the random style before any cost is incurred)
Prerequisites
jq is required. The statusline parses Claude Code's session JSON with jq; without it the statusline exits and renders nothing.
brew install jq # macOS
sudo apt install jq # Debian/Ubuntu
A Nerd Font is required. The statusline uses Nerd Font glyphs for icons and Powerline caps. Without one installed, characters render as boxes.
Install via Homebrew or download from nerdfonts.com:
brew install --cask font-jetbrains-mono-nerd-font
Terminal font configuration
Installing only puts the font files on disk; your terminal won't use it until you select it:
| Terminal | Where to set the font |
|---|
| iTerm2 | In Settings, open Profiles, then Text, and pick "JetBrainsMono Nerd Font" under Font |
| Terminal.app | In Settings, open Profiles, select your profile, click Change under Font, and pick "JetBrainsMono Nerd Font" |
| Warp | In Settings, open Appearance and set Terminal font to "JetBrainsMono Nerd Font" |
| Ghostty | Add font-family = JetBrainsMono Nerd Font to ~/.config/ghostty/config |
| VS Code terminal | In Settings, search "terminal font" and set Terminal: Integrated: Font Family to JetBrainsMono Nerd Font |
Prefer smaller icons? In JetBrainsMono Nerd Font most icons are wider than one cell and extend into the space after them, which is the look shown above. For compact icons, use the Mono variant, JetBrainsMono Nerd Font Mono, which scales every icon to exactly one cell. The Homebrew cask above installs both.
Usage
Use the /nerdflair command to configure the statusline:
Command reference