From be6145e317ea3ffd0a8e16b55f2eb05f3394d2c7 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Mon, 12 Jul 2021 20:12:06 -0500 Subject: [PATCH] Enable GPG signing of commits --- gitconfig | 2 ++ zshenv | 1 + 2 files changed, 3 insertions(+) diff --git a/gitconfig b/gitconfig index 468abfa..0cc6635 100644 --- a/gitconfig +++ b/gitconfig @@ -30,3 +30,5 @@ autosquash = true [diff] colorMoved = zebra +[commit] + gpgSign = true diff --git a/zshenv b/zshenv index d798940..c1e09a3 100644 --- a/zshenv +++ b/zshenv @@ -1,4 +1,5 @@ export EDITOR="nvim" +export GPG_TTY=$(tty) fpath+=(~/.zsh/completions)