From c60279cef42dbc863d7f57521309d4efab9dc704 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 15 Mar 2017 10:11:28 +1100 Subject: [PATCH] Point ssh to the gpg-agent, when GnuPG is available --- config/zsh/login/gpg-agent | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 config/zsh/login/gpg-agent diff --git a/config/zsh/login/gpg-agent b/config/zsh/login/gpg-agent new file mode 100644 index 0000000..7cdfdf0 --- /dev/null +++ b/config/zsh/login/gpg-agent @@ -0,0 +1,4 @@ +#! zsh +if [[ -d ~/.gnupg ]]; then + export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh +fi