From 192c3522297871d84a4a1f3b4906d5926c347347 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Sun, 30 May 2021 20:18:39 +0200 Subject: Use correct TTY for GPG Pinentry. --- .env | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env b/.env index b0cea22..5f6b401 100644 --- a/.env +++ b/.env @@ -25,3 +25,7 @@ alias githome='git --git-dir ~/.githome --work-tree ~' alias ls='ls --color -A --group-directories-first --sort=extension' alias recent='ls -ltch' + +# Use correct TTY for GPG Pinentry +export GPG_TTY="$(tty)" +gpg-connect-agent updatestartuptty /bye >/dev/null -- cgit v1.2.3