Skip to content

Commit 0740f15

Browse files
authored
Update starship.toml
1 parent ae375b3 commit 0740f15

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.config/starship.toml

+24-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#format = """
22
#[╭─user───❯](bold blue) $username
33
#[┣─system─❯](bold yellow) $hostname
4-
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
4+
#[┣─project❯](bold red) $directory$rust$git_branch$git_state$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
55
#[╰─cmd────❯](bold green)
66
#"""
7-
87
[username]
98
style_user = "green bold"
109
style_root = "red bold"
@@ -22,6 +21,7 @@ disabled = false
2221
[character] # The name of the module we are configuring is "character"
2322
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
2423
error_symbol = "[✗](bold red)"
24+
2525
#  
2626
# configure directory
2727
[directory]
@@ -66,6 +66,28 @@ symbol = " "
6666
[git_branch]
6767
symbol = ""
6868

69+
[git_status]
70+
format = '([\[$all_status$ahead_behind\]]($style) )'
71+
stashed = "[${count}*](green)"
72+
modified = "[${count}+](yellow)"
73+
deleted = "[${count}-](red)"
74+
conflicted = "[${count}~](red)"
75+
ahead = "⇡${count}"
76+
behind = "⇣${count}"
77+
untracked = "[${count}?](blue)"
78+
staged = "[${count}+](green)"
79+
80+
[git_state]
81+
style = "bold red"
82+
format = "[$state( $progress_current/$progress_total) ]($style)"
83+
rebase = "rebase"
84+
merge = "merge"
85+
revert = "revert"
86+
cherry_pick = "cherry"
87+
bisect = "bisect"
88+
am = "am"
89+
am_or_rebase = "am/rebase"
90+
6991
[golang]
7092
symbol = ""
7193

0 commit comments

Comments
 (0)