diff options
author | Vincent Ambo <vincent@kivra.com> | 2015-05-21T10·03+0200 |
---|---|---|
committer | Vincent Ambo <vincent@kivra.com> | 2015-05-21T10·03+0200 |
commit | 560176bc7789c2b0aa12b4dbab064f328c3454a5 (patch) | |
tree | 98e413f2658f9a29c2578d03bd622297a5675fea | |
parent | c2ef13da72a27822810a9823f208b4c4edf7f49b (diff) |
Use GPG-agent's SSH agent (for Tramp etc.)
-rw-r--r-- | init/settings.el | 3 |
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") |