diff options
author | Alan Pearce | 2013-05-22 19:30:03 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-22 19:30:03 +0100 |
commit | 71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45 (patch) | |
tree | 52bbbb6b596194cf231ec07b68ac3655b41e963d /emacs | |
parent | a0b0e04d9f47729697eba4bb491b647bfd8d81f9 (diff) | |
download | nixfiles-71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45.tar.lz nixfiles-71c88bc14e9d0c9ebbaa7f119206e71f66cd7a45.tar.zst nixfiles-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.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 9c17e403..9d097395 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 |