about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-06 18:58:56 -0500
committerCase Duckworth2021-10-06 18:58:56 -0500
commit7e040057a600fe4d53e48c9590e53d7ff776b4aa (patch)
treed6c7db755b2923e51c4ba1ad83e73366045acc9a
parentMerge branch 'main' of github.com:duckwork/.emacs.d (diff)
downloademacs-7e040057a600fe4d53e48c9590e53d7ff776b4aa.tar.gz
emacs-7e040057a600fe4d53e48c9590e53d7ff776b4aa.zip
Setup tramp
-rw-r--r--init.el7
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))