fix: hide git prompt when using jj

Signed-off-by: jolheiser <git@jolheiser.com>
jenkins
jolheiser 2024-10-21 19:31:03 -05:00
parent 8d9a644a5e
commit c9fefbf7e2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
} }
}, },
"style": "powerline", "style": "powerline",
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ", "template": "{{ if not (glob \".jj\")}} {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} {{ end }}",
"type": "git" "type": "git"
}, },
{ {