From f50d7638b774167f7a44453c889c4a031036b993 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 8 Jan 2025 01:15:30 +0100 Subject: [PATCH] feat: use homebrew path Signed-off-by: kjuulh --- dot_gitconfig.tmpl | 2 ++ dot_gitconfig_front.tmpl | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 0b1b107..81a9eda 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -59,3 +59,5 @@ [rerere] enabled = true +[commit] + gpgsign = true diff --git a/dot_gitconfig_front.tmpl b/dot_gitconfig_front.tmpl index 6cedffd..c683383 100644 --- a/dot_gitconfig_front.tmpl +++ b/dot_gitconfig_front.tmpl @@ -1,7 +1,11 @@ [user] name = {{ .gitea_name }} email = {{ .gitea_email }} +{{ if .homebrew }} + signingkey = /Users/kah/.ssh/id_clank +{{ else }} signingkey = /home/kjuulh/.ssh/id_clank +{{ end }} [gpg] format = ssh