Skip to content

Commit 9016456

Browse files
authored
Update starship.toml
1 parent 816070a commit 9016456

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

starship.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
# old style
6-
format = "\\[${time}\\]-[\\[${username}@${hostname} ${directory}\\]](white) (\\[${git_branch}(|${git_status})\\]) (${python})\n$battery$character$status "
6+
format = "\\[${time}\\]-[\\[${username}@${hostname} ${directory}\\]](white) (\\[${git_branch} $git_state(|${git_status})\\]) (${python})\n$battery$character$status "
77

88
# Inserts a blank line between shell prompts
99

@@ -87,6 +87,10 @@ always_show_remote = true
8787
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
8888

8989

90+
[git_state]
91+
format = '\([$state( $progress_current/$progress_total)]($style)\)'
92+
93+
9094
# https://starship.rs/config/#git-status
9195
[git_status]
9296
# all_status = '$conflicted$stashed$deleted$renamed$modified$typechanged$staged$untracked'

0 commit comments

Comments
 (0)