git functions

This commit is contained in:
pika 2024-08-17 23:15:54 +02:00
parent ee5b32fcad
commit b33036c114

View file

@ -65,7 +65,7 @@ foreground_templates = [
"{{ if gt .Ahead 0 }}p:terminal-yellow{{ end }}", "{{ if gt .Ahead 0 }}p:terminal-yellow{{ end }}",
"{{ if gt .Behind 0 }}p:celeste-blue{{ end }}" "{{ if gt .Behind 0 }}p:celeste-blue{{ end }}"
] ]
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>' template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <p:pistachio-green>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
[blocks.segments.properties] [blocks.segments.properties]
fetch_status = true fetch_status = true