diff options
Diffstat (limited to 'ssh/.config/env')
-rw-r--r-- | ssh/.config/env/00-ssh.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssh/.config/env/00-ssh.sh b/ssh/.config/env/00-ssh.sh new file mode 100644 index 0000000..718d7a0 --- /dev/null +++ b/ssh/.config/env/00-ssh.sh @@ -0,0 +1,5 @@ +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ] +then + export SSH_AUTH_SOCK=`gpgconf --list-dirs agent-ssh-socket` +fi |