From 71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 22 May 2013 19:30:03 +0100 Subject: Emacs: Add localhost to the list of TRAMP remotes which should not be proxied --- emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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 -- cgit 1.4.1