Point ssh to the gpg-agent, when GnuPG is available

This commit is contained in:
Danielle McLean 2017-03-15 10:11:28 +11:00
parent 4ad6765e79
commit c60279cef4
No known key found for this signature in database
GPG key ID: A34CF3DC7C0846AC

View file

@ -0,0 +1,4 @@
#! zsh
if [[ -d ~/.gnupg ]]; then
export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
fi