diff options
author | Alan Pearce | 2016-09-10 14:36:47 +0200 |
---|---|---|
committer | Alan Pearce | 2016-09-10 14:36:47 +0200 |
commit | 5b7f449ecde3146e237d698ba02ecef28ab8adcf (patch) | |
tree | d273b83c22fbdc5f2a66fe75dd3585f3a9fa5df8 /tag-emacs | |
parent | 3400906be525fc17b24e17cb6389528129eb3385 (diff) | |
parent | 67cab027564f0e932d93e73d4997e3a09f208482 (diff) | |
download | nixfiles-5b7f449ecde3146e237d698ba02ecef28ab8adcf.tar.lz nixfiles-5b7f449ecde3146e237d698ba02ecef28ab8adcf.tar.zst nixfiles-5b7f449ecde3146e237d698ba02ecef28ab8adcf.zip |
Merge branch 'master' of git.alanpearce.uk:alan/dotfiles
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 824fa085..40509d15 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -654,7 +654,7 @@ that I can sudo on remote machines :config (progn (unless (getenv "SSH_AUTH_SOCK") (setenv "SSH_AUTH_SOCK" "/run/user/1000/ssh-agent.socket")) - (setq tramp-default-method (if (eq system-type 'windows-nt) "plinkx" "ssh") + (setq tramp-default-method "ssh" tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root")) tramp-backup-directory-alist backup-directory-alist backup-enable-predicate (lambda (name) |