diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2017-10-04 02:45:00 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2017-10-04 02:45:00 (GMT) |
| commit | fb2a0fd856da3ea032a4941bb007db080d2eed22 (patch) | |
| tree | 67be2b26d3020cbe51924d8bc33d2ea17534abb9 /lisp | |
| parent | caea74ad85a01f848299615546ea99403d528099 (diff) | |
| download | dotemacs-fb2a0fd856da3ea032a4941bb007db080d2eed22.zip dotemacs-fb2a0fd856da3ea032a4941bb007db080d2eed22.tar.gz dotemacs-fb2a0fd856da3ea032a4941bb007db080d2eed22.tar.bz2 | |
Better tramp setup
- get PATH from remote location
- respect control master options in .ssh/config
- declutter
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ravi-init-files.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ravi-init-files.el b/lisp/ravi-init-files.el index 659647c..e3800e2 100644 --- a/lisp/ravi-init-files.el +++ b/lisp/ravi-init-files.el @@ -113,6 +113,13 @@ not exist, it is not added to the filecache." (file-cache-add-directory dirval))) ))) +(use-package tramp + :config + (progn + (add-to-list 'tramp-remote-path 'tramp-own-remote-path) + (setq tramp-use-ssh-controlmaster-options nil) + (setq tramp-persistency-file-name (ravi/emacs-file "past/tramp")))) + ;; Write backup files to own directory (make-directory (ravi/emacs-file "past/backups/") t) (setq backup-by-copying t) |
