feat: enhance dotfiles status output with color coding for unpushed commits
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
Menno van Leeuwen 2025-03-10 19:23:08 +01:00
parent dbcab30d6f
commit da3db10d03
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -115,7 +115,7 @@ def get_condensed_status():
status_parts.append(f"{COLORS['white']}[{COLORS['blue']}{dotfiles_status['commit_hash']}{COLORS['white']}]{COLORS['reset']}")
if dotfiles_status['unpushed'] > 0:
status_parts.append(f"[!] You have {dotfiles_status['unpushed']} commit(s) to push")
status_parts.append(f"{COLORS['yellow']}[!] You have {dotfiles_status['unpushed']} commit(s) to push{COLORS['reset']}")
else:
status_parts.append("Unable to check dotfiles status")