gpg agent if configuration
This commit is contained in:
parent
97f74cb623
commit
fde55c7c04
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue