# vim: filetype=sh
# .bashrc.d/gpg

## Recommended by GPG agent to resolve issues with not being able to use gpg2.
GPG_TTY=$(tty)
export GPG_TTY

gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye >/dev/null