diff options
Diffstat (limited to 'docs/config/README.md')
-rw-r--r-- | docs/config/README.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/config/README.md b/docs/config/README.md index 84c3b2065..7b2218b1d 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -1120,7 +1120,6 @@ current directory. | `staged` | `"+"` | The format of `staged` | | `renamed` | `"ยป"` | The format of `renamed` | | `deleted` | `"โ"` | The format of `deleted` | -| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. | | `style` | `"bold red"` | The style for the module. | | `disabled` | `false` | Disables the `git_status` module. | @@ -1174,6 +1173,16 @@ renamed = "๐
" deleted = "๐" ``` +Show ahead/behind count of the branch being tracked +```toml +# ~/.config/starship.toml + +[git_status] +ahead = "โก${count}" +diverged = "โโก${ahead_count}โฃ${behind_count}" +behind = "โฃ${count}" +``` + ## Golang The `golang` module shows the currently installed version of Golang. |