diff options
author | Alan Pearce | 2017-08-25 23:40:40 +0200 |
---|---|---|
committer | Alan Pearce | 2017-08-25 23:42:45 +0200 |
commit | 6f7aee7f9c6b18b8fcd2e50423c955279760bb85 (patch) | |
tree | 2b60b28b03f5e8258333ac96ed36ed5df77778f9 /emacs | |
parent | 8f73546d05279d79027e0583bac1598d116e484e (diff) | |
download | dotfiles-6f7aee7f9c6b18b8fcd2e50423c955279760bb85.tar.lz dotfiles-6f7aee7f9c6b18b8fcd2e50423c955279760bb85.tar.zst dotfiles-6f7aee7f9c6b18b8fcd2e50423c955279760bb85.zip |
Emacs: Default to SSH socket from GnuPG
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/main.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 8f692bb..cc61b57 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 |