remove "|" in git segment

This commit is contained in:
Daylin Morgan 2024-06-10 14:52:18 -05:00
parent 748e7408b3
commit 3f28038548
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -29,7 +29,6 @@ blocks:
template: >
{{ .UpstreamIcon }}{{ .HEAD }}{{ if .BranchStatus }}{{ .BranchStatus }}{{ end -}}
{{ if .Working.Changed }}  {{ .Working.String }}{{ end -}}
{{ if and (.Working.Changed) (.Staging.Changed) }}|{{ end -}}
{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end -}}
{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end -}}
- type: prompt