Fix git state style in starship

This commit is contained in:
Gnarwhal 2025-07-13 14:13:39 +00:00
parent 6ace732899
commit 2c744a1ce7
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174

View file

@ -10,6 +10,7 @@ $hostname\
$directory\
[](bg:yellow fg:peach)\
$git_branch\
$git_state\
$git_status\
[](fg:yellow bg:green)\
$c\
@ -27,9 +28,9 @@ $conda\
$time\
[](fg:lavender)\
\
$character\
$cmd_duration\
$jobs\
$status\
$line_break\
[> ](bold fg:red)\
"""
@ -94,6 +95,10 @@ format = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)'
style = "bg:yellow"
format = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)'
[git_state]
style = "fg:crust bg:yellow"
format = '[\($state( $progress_current/$progress_total)\) ]($style)'
[nodejs]
symbol = ""
style = "bg:green"
@ -178,6 +183,14 @@ format = """
[](fg:red)\
"""
[status]
disabled = false
format = """
[ $status ](bold error)\
[](fg:black bg:error)\
[](fg:error)\
"""
[cmd_duration]
disabled = true
show_milliseconds = true
@ -325,3 +338,4 @@ surface0 = "#363a4f"
base = "#24273a"
mantle = "#1e2030"
crust = "#181926"
error = "#f03030"