You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many people use the examples from the docs directly, as they are somewhat of a sound goto configuration after defaults, that doesn't require much tweak. Although it's just an example, I think the example of git_metrics has (I'm guessing) "unintentional" output for clean repos. If this was intentionally kept in the docs, we can close this issue.
Current Behavior
This is the current example in git_metrics module in the documentation
There should be no residual output on a clean repo, with the example configuration from the docs.
Possible Solution
Update example in the docs to the following:
# ~/.config/starship.toml
[git_metrics]
added_style = 'bold blue'# Note: the wrapping ( ) will result in empty string if all the variables within it are emptyformat = '([+$added]($added_style)/[-$deleted]($deleted_style) )'
The text was updated successfully, but these errors were encountered:
Bug Report
Many people use the examples from the docs directly, as they are somewhat of a sound goto configuration after defaults, that doesn't require much tweak. Although it's just an example, I think the example of
git_metrics
has (I'm guessing) "unintentional" output for clean repos. If this was intentionally kept in the docs, we can close this issue.Current Behavior
This is the current example in
git_metrics
module in the documentationLooks fine when the repo is dirty (+1/-1)
Shows +/- even when the repo is clean
Expected Behavior
There should be no residual output on a clean repo, with the example configuration from the docs.
Possible Solution
Update example in the docs to the following:
The text was updated successfully, but these errors were encountered: