changeset 701:306ac9429043

feat: set tty for gpg pinentry
author zegervdv <zegervdv@me.com>
date Thu, 20 Oct 2022 16:12:43 +0000
parents e1cbab38a3e1
children fb751a7650e9
files dot_zshrc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dot_zshrc	Wed Oct 19 21:53:54 2022 +0000
+++ b/dot_zshrc	Thu Oct 20 16:12:43 2022 +0000
@@ -247,6 +247,8 @@
 
 export PS_FORMAT='pid,pgid,state,start_time,%cpu,command'
 
+export GPG_TTY=$(tty)
+
 [ -f ~/.zshrc.local ] && source ~/.zshrc.local
 
 source $HOME/.asdf/asdf.sh