6 lines
224 B
Bash
6 lines
224 B
Bash
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
|