Emacs: Add localhost to the list of TRAMP remotes which should not be proxied
Alan Pearce alan@alanpearce.co.uk
Wed, 22 May 2013 19:30:03 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -384,6 +384,7 @@ (member method '("su" "sudo"))))))) 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