From c9373e94aedb92903ff26bc0ad022f805a4ba335 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sat, 11 Jul 2020 14:37:34 +0200 Subject: [PATCH] gpg-sign commits by default --- git/gitconfig | 2 ++ zsh/zshrc | 1 + 2 files changed, 3 insertions(+) diff --git a/git/gitconfig b/git/gitconfig index 4bf8f3a..2c59027 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -51,3 +51,5 @@ writeCommitGraph = true [pull] rebase = true +[commit] + gpgsign = true diff --git a/zsh/zshrc b/zsh/zshrc index 37bd72b..6fe71dc 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -114,3 +114,4 @@ export EDITOR='nvim' [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.dotfiles/fzf/git-completion.zsh ] && source ~/.dotfiles/fzf/git-completion.zsh +export GPG_TTY=$(tty)