From 0a4bf53aab8d4bc410e86a4edaa5c3fb58877b23 Mon Sep 17 00:00:00 2001 From: FaultyBranches Date: Fri, 31 Jul 2026 12:38:42 -0500 Subject: [PATCH] feat: Adding settings for git to use GPG signing --- README.md | 3 +++ gitconfig | 3 +++ zsh/zsh_exports | 1 + 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 52e1055..427bf01 100644 --- a/README.md +++ b/README.md @@ -103,3 +103,6 @@ The config adds the following settings outside of oh-my-zsh: The gitconfig, centered on nvim integration, gives contains a selection of useful aliases and sets some basic defaults. It also includes a local override config hosted at `~/.config/git/local` for adding username and email as well as any other options needed for a local machine. + +> [!NOTE] +> For signing support put the `gpgsign` option in the local gitconfig diff --git a/gitconfig b/gitconfig index e6e2302..5b552ab 100644 --- a/gitconfig +++ b/gitconfig @@ -40,4 +40,7 @@ [include] path = ~/.config/git/local +[commit] + gpgsign = true + # vim: ft=gitconfig diff --git a/zsh/zsh_exports b/zsh/zsh_exports index 43a62cb..7ec34c8 100644 --- a/zsh/zsh_exports +++ b/zsh/zsh_exports @@ -1,3 +1,4 @@ export EDITOR=nvim export MANPAGER="less -R --use-color -Dd+r -Du+b" # Colored MAN pages export DOCKER_DEFAULT_PLATFORM=linux/amd64 +export GPG_TTY=$(tty)