This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |