From 6f7aee7f9c6b18b8fcd2e50423c955279760bb85 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 25 Aug 2017 23:40:40 +0200 Subject: Emacs: Default to SSH socket from GnuPG --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 8f692bb5..cc61b57f 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -840,7 +840,7 @@ :defer 7 :config (progn (unless (getenv "SSH_AUTH_SOCK") - (setenv "SSH_AUTH_SOCK" (format "/run/user/%s/ssh-agent" (user-uid)))) + (setenv "SSH_AUTH_SOCK" (format "/run/user/%s/gnupg/S.gpg-agent.ssh" (user-uid)))) (setq tramp-default-method "ssh" tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root")) tramp-backup-directory-alist backup-directory-alist -- cgit 1.4.1