# Configure GPG-AGENT.  We don't source ~/.bashrc, because these
# variables are to be set only for interactive sessions, and this
# login is *not* an interactive session.  Make gpg-agent available for
# any shell invocation.
export GPG_TTY=$(tty)

# We use gpg-agent instead of ssh-agent.
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
    export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi

Generated by apteryx using scpaste at Fri May 15 13:36:13 2026. JST. (original)