summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-22 19:30:03 +0100
committerAlan Pearce2013-05-22 19:30:03 +0100
commit71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45 (patch)
tree52bbbb6b596194cf231ec07b68ac3655b41e963d /emacs
parenta0b0e04d9f47729697eba4bb491b647bfd8d81f9 (diff)
downloaddotfiles-71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45.tar.lz
dotfiles-71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45.tar.zst
dotfiles-71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45.zip
Emacs: Add localhost to the list of TRAMP remotes which should not be proxied
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 9c17e40..9d09739 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -384,6 +384,7 @@ Values: `desktop', `server', `laptop'")
                   tramp-shell-prompt-pattern "\\(?:^\\|
\\)[^#$%>\n]*#?[#$%>›] *\\(\\[[0-9;]*[a-zA-Z] *\\)*")
             (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" (concat "/" tramp-default-method ":%h:")))
             (add-to-list 'tramp-default-proxies-alist '((regexp-quote (system-name)) nil nil))
+            (add-to-list 'tramp-default-proxies-alist '("localhost" nil nil))
             (add-to-list 'tramp-default-proxies-alist '("router" nil nil))))
 
 (use-package tramp-sh