feat(vcs): adds thresholds above which to use the warning color for VCS sections

This commit is contained in:
Johann Dreo 2022-10-18 22:12:41 +02:00
commit 0f5437bc1f
2 changed files with 60 additions and 17 deletions

View file

@ -198,6 +198,21 @@ Example of a compact prompt:
#### Specific features
**DOTMATRIX_VCS_AHEAD_THRESHOLD** *integer = 5*
Number of unpushed local commits above which the prompt should use the warning color to display the "push" section.
**DOTMATRIX_VCS_BEHIND_THRESHOLD** *integer = 5*
Number of unpulled remote commits above which the prompt should use the warning color to display the "pull" section.
**DOTMATRIX_VCS_DIFF_THRESHOLD** *integer = 300*
Number of modified lines above which the prompt should use the warning color to display the "commit" section.
**DOTMATRIX_ENABLE_HISTORY** *boolean = 1*
Enable the history sections displayed on the right side of the middle line.