feat: update commit hash display formatting in hello.py for improved visibility
Some checks failed
Nix Format Check / check-format (push) Has been cancelled

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

View File

@ -112,7 +112,7 @@ def get_condensed_status():
status_parts.append(f"{COLORS['green']}[{dotfiles_status['staged']}] staged{COLORS['reset']}") status_parts.append(f"{COLORS['green']}[{dotfiles_status['staged']}] staged{COLORS['reset']}")
if dotfiles_status['commit_hash']: if dotfiles_status['commit_hash']:
status_parts.append(f"[{COLORS['blue']}{dotfiles_status['commit_hash']}{COLORS['reset']}]") status_parts.append(f"{COLORS['white']}[{COLORS['blue']}{dotfiles_status['commit_hash']}{COLORS['white']}]{COLORS['reset']}")
if dotfiles_status['unpushed'] > 0: if dotfiles_status['unpushed'] > 0:
status_parts.append(f"[!] You have {dotfiles_status['unpushed']} commit(s) to push") status_parts.append(f"[!] You have {dotfiles_status['unpushed']} commit(s) to push")