This commit is contained in:
Matthew Ryan Dillon 2025-09-23 22:07:35 -04:00
parent 4a65f1304f
commit 61ab8bf9a1
4 changed files with 128 additions and 133 deletions

View file

@ -2,7 +2,7 @@
name = {{ .name | quote }}
{{- if eq .hosttype "work" }}
email = {{ .email_work | quote }}
{{ else }}
{{- else }}
email = {{ .email_personal | quote }}
{{- end }}
@ -12,7 +12,7 @@ private-commits = "description(glob:'private:*') | bookmarks('merge')"
[templates]
{{- if eq .hosttype "work" }}
git_push_bookmark = '"2025_{{ .github_work }}_jj_" ++ change_id.short()'
{{ else }}
{{- else }}
git_push_bookmark = '"{{ .github_personal }}_jj_" ++ change_id.short()'
{{- end }}
@ -34,7 +34,7 @@ bdiff = ["diff", "-r", "(trunk()..@)::"]
default-command = ["log"]
diff-formatter = ":git"
{{- if eq .hosttype "work" }}
{{ if eq .hosttype "work" -}}
[[--scope]]
--when.repositories = ["~/projects/personal", "~/.local/share/chezmoi"]
[--scope.user]