Skip to content

Instantly share code, notes, and snippets.

@8spw
8spw / something.zsh-theme
Last active November 18, 2025 12:28
my over written theme of robbyrussell zsh
# --- True git counters (these always work) ---
git_count_staged() {
git diff --cached --name-only 2>/dev/null | wc -l | tr -d ' '
}
git_count_unstaged() {
git diff --name-only 2>/dev/null | wc -l | tr -d ' '
}
git_count_untracked() {