diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index a598b16..34001fa 100644 --- a/init.el +++ b/init.el | |||
@@ -64,6 +64,13 @@ | |||
64 | (unless (server-running-p) | 64 | (unless (server-running-p) |
65 | (server-start))) | 65 | (server-start))) |
66 | 66 | ||
67 | (setup (:require tramp) | ||
68 | ;; thanks Irreal! https://irreal.org/blog/?p=895 | ||
69 | (add-to-list 'tramp-default-proxies-alist | ||
70 | '(nil "\\`root\\'" "/ssh:%h:")) | ||
71 | (add-to-list 'tramp-default-proxies-alist | ||
72 | '((regexp-quote (system-name)) nil nil))) | ||
73 | |||
67 | (setup Info | 74 | (setup Info |
68 | (:hook #'variable-pitch-mode | 75 | (:hook #'variable-pitch-mode |
69 | #'reading-mode)) | 76 | #'reading-mode)) |