all repos — archive/dotfiles @ 71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45

Superseded by nixfiles

Emacs: Add localhost to the list of TRAMP remotes which should not be proxied

Alan Pearce
commit

71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45

parent

a0b0e04d9f47729697eba4bb491b647bfd8d81f9

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M emacs/init.elemacs/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