Use GPG-agent's SSH agent (for Tramp etc.)

This commit is contained in:
Vincent Ambo 2015-05-21 12:03:46 +02:00
parent c2ef13da72
commit 560176bc77
No known key found for this signature in database
GPG key ID: 66F505681DB8F43B

View file

@ -31,6 +31,9 @@
;; Bash is the reliable one here ;; Bash is the reliable one here
(setq multi-term-program "/bin/bash") (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: ;;; Code:
(add-to-list 'exec-path "/usr/local/bin") (add-to-list 'exec-path "/usr/local/bin")