1
0

Added the libsecret helper for Git

This commit is contained in:
2025-10-12 12:29:22 +02:00
parent c8385b97c7
commit 9778a1bcd5

View File

@@ -1,9 +1,19 @@
[user]
email = {{ .email }}
name = {{ .git_name }}
email = {{ .email }}
name = {{ .git_name }}
[init]
defaultBranch = main
defaultBranch = main
[merge]
ff = true
ff = true
{{- $credentialHelperPath := "" }}
{{- if eq .chezmoi.osRelease.id "arch" }}
{{- $credentialHelperPath = "/usr/lib/git-core/git-credential-libsecret" }}
{{- end }}
{{- if $credentialHelperPath }}
[credential]
helper = {{ $credentialHelperPath }}
{{- end }}