about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--init/settings.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/settings.el b/init/settings.el
index 72959026afc2..f58063a5dc70 100644
--- a/init/settings.el
+++ b/init/settings.el
@@ -31,6 +31,9 @@
 ;; Bash is the reliable one here
 (setq multi-term-program "/bin/bash")
 
+;; Use the GPG-provided SSH agent
+(setenv "SSH_AUTH_SOCK" (concat (getenv "HOME") "/.gnupg/S.gpg-agent.ssh"))
+
 ;;; Code:
 
 (add-to-list 'exec-path "/usr/local/bin")