diff options
author | rekado <rekado@elephly.net> | 2014-09-03 13:48:04 +0200 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-09-03 13:48:04 +0200 |
commit | 1d2dc16252ebf7649a4e93fa24a1049cdae11992 (patch) | |
tree | ed0db7415c739581da324d6760d345d977922f8f /init.el | |
parent | 928dc209bdbdd621a44f3033a57cceb82b7daa9b (diff) |
exclude localhost from tramp hopping rule
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -104,7 +104,9 @@ ;; for root connections to remote hosts, log in via ssh with normal ;; user account first, then su/sudo to root (add-to-list 'tramp-default-proxies-alist - '(".*" "\\`root\\'" "/ssh:%h:")) + '(nil "\\`root\\'" "/ssh:%h:")) +(add-to-list 'tramp-default-proxies-alist + '((regexp-quote (system-name)) nil nil)) ;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files (add-to-list 'backup-directory-alist |