From 15086b6eadc35bd890e00175125e80b58201f5ca Mon Sep 17 00:00:00 2001 From: Max Rantil Date: Mon, 24 Nov 2025 08:53:06 +0100 Subject: [PATCH] fix: correct starship git_status format string syntax Change ${count} to $count in git_status format strings. Starship expects $variable syntax without braces for simple variable interpolation. The braced syntax was causing parse errors: 'Error parsing format string git_status.untracked' --- starship.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/starship.toml b/starship.toml index 78a897e..bda53f1 100644 --- a/starship.toml +++ b/starship.toml @@ -37,16 +37,16 @@ style = "bold purple" [git_status] style = "red bold" # Accessible text-based indicators (emojis preserved as comments below) -conflicted = "[CONFLICT${count}] " -ahead = "[↑${count}]" -behind = "[↓${count}]" -diverged = "[↕↑${ahead_count}↓${behind_count}]" -untracked = "[?${count}]" -stashed = "[STASH${count}]" -modified = "[M${count}]" -staged = '[+${count}](green)' -renamed = "[R${count}]" -deleted = "[-${count}]" +conflicted = "[CONFLICT$count] " +ahead = "[↑$count]" +behind = "[↓$count]" +diverged = "[↕↑$ahead_count↓$behind_count]" +untracked = "[?$count]" +stashed = "[STASH$count]" +modified = "[M$count]" +staged = '[+$count](green)' +renamed = "[R$count]" +deleted = "[-$count]" # Original emoji versions (uncomment to restore): # conflicted = "⚔️ " # ahead = "⇡${count}"