feat: enhance dotfiles status output with color coding for unpushed commits
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
parent
dbcab30d6f
commit
da3db10d03
@ -115,7 +115,7 @@ def get_condensed_status():
|
|||||||
status_parts.append(f"{COLORS['white']}[{COLORS['blue']}{dotfiles_status['commit_hash']}{COLORS['white']}]{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"{COLORS['yellow']}[!] You have {dotfiles_status['unpushed']} commit(s) to push{COLORS['reset']}")
|
||||||
else:
|
else:
|
||||||
status_parts.append("Unable to check dotfiles status")
|
status_parts.append("Unable to check dotfiles status")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user