# HG changeset patch # User zegervdv # Date 1666282363 0 # Node ID 306ac942904317de52b070611d04e80006f8e2d4 # Parent e1cbab38a3e16283339dc50d6ed9bd83968ca979 feat: set tty for gpg pinentry diff -r e1cbab38a3e1 -r 306ac9429043 dot_zshrc --- 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