diff --git a/dot_config/git/config.local.tmpl b/dot_config/git/config.local.tmpl index e5f0cb1..3a8ba8f 100644 --- a/dot_config/git/config.local.tmpl +++ b/dot_config/git/config.local.tmpl @@ -3,7 +3,7 @@ [user] name = punkfairie email = 23287005+punkfairie@users.noreply.github.com - {{ if .gpgKey -}} + {{ if hasKey . "gpgKey" -}} signingkey = {{ .gpgKey }} {{- else -}} {{- output "echo" ".gpgKey not set, please run chezmoi apply again!" -}}