Skip to content

Instantly share code, notes, and snippets.

View szubiszon's full-sized avatar

Kamil Świeży szubiszon

View GitHub Profile
@szubiszon
szubiszon / gist:9ef00fa810445804e1875045a7a08ebf
Last active August 11, 2026 22:12
Claude status line z wytłumaczeniem
#!/bin/bash
# Opisuje format status line wyświetlanej przez Claude Code CLI.
# Linia pokazuje model, użycie kontekstu, gałąź Git i katalog.
# To komentarz informacyjny, nie jest wykonywany.
# Claude Code statusline: {emoji} model | CTX: [bar] % | 🌿 branch | 📁 katalog
# Sekcja opisuje sposób instalacji skryptu.
# To tylko instrukcja dla użytkownika.
# Nie jest wykonywana przez Bash.
@szubiszon
szubiszon / gist:ac4a86c0984bdece3cb78804c62bb440
Last active August 11, 2026 22:11
Claude status line: {emoji} model | CTX: [bar] % | 🌿 branch | 📁 katalog
#!/bin/bash
# Claude Code statusline: {emoji} model | CTX: [bar] % | 🌿 branch | 📁 katalog
#
# Instalacja:
# 1. chmod +x statusline.sh
# 2. Dodaj do ~/.claude/settings.json (lub projektowego .claude/settings.json):
# {
# "statusLine": {
# "type": "command",
# "command": "~/.claude/statusline.sh"
@szubiszon
szubiszon / statusline.sh
Created August 10, 2026 19:45
Claude Code statusline: model, pasek kontekstu, status PR (CI/review), branch, katalog — bez zależności od rate_limits (dla API billing)
#!/bin/bash
# Claude Code statusline: {emoji} model | CTX: [bar] % | PR#(kolor CI) | 🌿 branch | 📁 katalog
#
# Instalacja:
# 1. chmod +x statusline.sh
# 2. Dodaj do ~/.claude/settings.json (lub projektowego .claude/settings.json):
# {
# "statusLine": {
# "type": "command",
# "command": "~/.claude/statusline.sh"