From 3547f0b2eada2bb11733da78260dbe6ae4fad760 Mon Sep 17 00:00:00 2001 From: Andrea Rogers Date: Wed, 22 Jan 2025 02:55:13 -0600 Subject: [PATCH] profile: Make GPG behave --- .profile | 3 +++ .profile.mac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.profile b/.profile index 5a34f0e..783a0da 100644 --- a/.profile +++ b/.profile @@ -22,3 +22,6 @@ command -v uname >/dev/null && ; export EDITOR=`which vim` + +# Make GPG and Git signing behave! +export GPG_TTY=$(tty) diff --git a/.profile.mac b/.profile.mac index b7dfdfd..49e82a2 100644 --- a/.profile.mac +++ b/.profile.mac @@ -27,3 +27,6 @@ fi # Makes Vim and friends behave! export LANG=en_US.UTF-8 + +# Make GPG and Git signing behave! +export GPG_TTY=$(tty)