Mercurial > dotfiles
comparison .elisp/settings/10.tramp.el @ 433:779ecb9643c2
tramp: tweak auto-save and backup file behavior for performance
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 18 Jun 2017 22:43:18 -0400 |
parents | 1b5d9d370b04 |
children |
comparison
equal
deleted
inserted
replaced
432:f500f0847a77 | 433:779ecb9643c2 |
---|---|
4 | 4 |
5 ;; sometime in 2014 tramp started passing -l to sh, which doesn't work | 5 ;; sometime in 2014 tramp started passing -l to sh, which doesn't work |
6 ;; with BSD sh. Use bash instead. | 6 ;; with BSD sh. Use bash instead. |
7 (add-to-list 'tramp-connection-properties | 7 (add-to-list 'tramp-connection-properties |
8 (list (regexp-quote "home.durin42.com") "remote-shell" "bash")) | 8 (list (regexp-quote "home.durin42.com") "remote-shell" "bash")) |
9 | |
10 ;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files | |
11 (add-to-list 'backup-directory-alist | |
12 (cons tramp-file-name-regexp nil)) | |
13 (setq tramp-auto-save-directory temporary-file-directory) |