diff --git a/config/starship.toml b/config/starship.toml index 0fed354a..0ea710ca 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -1,6 +1,6 @@ add_newline = true command_timeout = 200 -format = "[$directory$git_branch]($style)$character" +format = "[$directory$git_branch$git_status]($style)$character" [character] error_symbol = "[✗](bold red)" @@ -15,3 +15,18 @@ repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($r [git_branch] format = "[$branch]($style) " style = "italic" + +[git_status] +format = '[$all_status]($style) ' +style = "" +ahead = '⇡${count}' +diverged = '⇕⇡${ahead_count}⇣${behind_count}' +behind = '⇣${count}' +conflicted = '' +up_to_date = '' +untracked = '' +modified = '' +stashed = '' +staged = '' +renamed = '' +deleted = ''