if [ ${EUID} -ne 0 ] ; then
    if [ -f "${HOME}/.gnupg/gpg-agent.conf" ] ; then
        export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
        gpg-connect-agent updatestartuptty /bye > '/dev/null'
    fi
fi