Misc TODOs and fixes

This commit is contained in:
Geoffrey Frogeye 2021-06-27 21:10:04 +02:00
parent 647fd78ae2
commit 121f629bdb
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
6 changed files with 10 additions and 1 deletions

View file

@ -101,7 +101,10 @@ unset _i_prefer
# Needed because xterm/urxvt won't use the last color, needed for vim
## GPG
# Update TTY
# Makes the last open terminal the ones that receives the pinentry message (if
# not run from a terminal with DESKTOP)
# TODO Only run if gpg-agent is started?
# TODO Make a command out of this for easy management (and maybe remove the below)
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null