From 50bb7df89edae49c9129af3feb7fc25bf52b4062 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 12 Aug 2022 08:47:33 -0700 Subject: [PATCH] dotfiles/zshrc: add comment about GPG_TTY This is only needed for pinentry-curses. --- dotfiles/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 78ce268..1f43b33 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -97,7 +97,7 @@ genpass() { ?@[\]^_`{|}~' | head -c 15 ; echo } -# set GPG TTY +# set GPG TTY for pinentry-curses export GPG_TTY=$(tty) # Refresh gpg-agent tty in case user switches into an X Session