summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index 73634db..e3eba87 100644
--- a/init.el
+++ b/init.el
@@ -108,6 +108,9 @@
(add-to-list 'tramp-default-proxies-alist
'((regexp-quote (system-name)) nil nil))
+;; respect the PATH variable on the remote machine
+(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
+
;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files
(add-to-list 'backup-directory-alist
(cons tramp-file-name-regexp nil))