tweaks
This commit is contained in:
parent
4a65f1304f
commit
61ab8bf9a1
4 changed files with 128 additions and 133 deletions
|
@ -2,7 +2,7 @@
|
|||
name = {{ .name }}
|
||||
{{- if eq .hosttype "work" }}
|
||||
email = {{ .email_work }}
|
||||
{{ else }}
|
||||
{{- else }}
|
||||
email = {{ .email_personal }}
|
||||
{{- end }}
|
||||
[core]
|
||||
|
@ -57,8 +57,8 @@
|
|||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
{{- if eq .hosttype "work" }}
|
||||
[includeIf "gitdir:~/projects/personal/"]
|
||||
{{ if eq .hosttype "work" -}}
|
||||
[includeIf "gitdir:~/projects/personal"]
|
||||
path = ~/.gitconfig-personal-override
|
||||
|
||||
[includeIf "gitdir:~/.local/share/chezmoi"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue