The theme you have chosen does not include the git add/modified/deleted/untracked counts. For example paradox.omp.json
does not include them. To include these counts, you can either:
- Choose a theme which does include the full git information, such as peru
or
- Edit your oh-my-posh theme file (e.g.
paradox.omp.json
) to include the git counts. Find the git
segment, and add the following lines into the properties section:
"fetch_status": true,
"template": "{{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uF692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }}"