Skip to content

Instantly share code, notes, and snippets.

View kv0409's full-sized avatar
🎯
Focusing

kv0409

🎯
Focusing
View GitHub Profile
@kv0409
kv0409 / statusline.sh
Last active March 9, 2026 18:37
Claude Code statusline configuration
#!/bin/bash
# Minimal Claude Code status line
# Format: "43% Opus | project:main✓ | 2h 53m | $12"
#
# Backup: https://gist.github.com/kv0409/59e3ca457b5e75455a6297a01cdcc14a
# After making changes, sync to gist with:
# gh gist edit 59e3ca457b5e75455a6297a01cdcc14a ~/.claude/statusline.sh
# Don't use set -e - statusline should be resilient to errors
set -o pipefail