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 | |
| # Make sure this file is executable: chmod +x ~/.claude/statusline-command.sh | |
| # Claude Code statusline script | |
| # Reads JSON input from stdin and outputs a formatted status line to stdout | |
| # | |
| # Add to your ~/.claude/settings.json | |
| # | |
| # "statusLine": { | |
| # "type": "command", |
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
| find() { | |
| if [[ -n "$CLAUDE_TOOL_NAME" ]] || [[ -n "$CLAUDE_FILE_PATHS" ]]; then | |
| echo "# Claude Code: excluding unwanted directories" >&2 | |
| bfs -exclude \( \ | |
| -name node_modules \ | |
| -o -name .venv \ | |
| -o -name venv \ | |
| -o -name __pycache__ \ | |
| -o -name .git \ | |
| -o -name .history \ |
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
| { | |
| "schemaVersion": 1, | |
| "badges": [ | |
| { | |
| "label": "pre-commit", | |
| "message": "passing", | |
| "color": "green", | |
| "namedLogo": "github", | |
| "description": "Pre-commit hooks status" | |
| }, |