annotate .elisp/settings/10.tramp.el @ 440:d706030e7c90

customze: include toml-mode
author Augie Fackler <raf@durin42.com>
date Sat, 15 Jul 2017 12:59:08 -0400
parents 779ecb9643c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
327
7530d66758cb emacs: prevent tramp from trying to be clever about PATH
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 ;; Prevent TRAMP from being too clever about $PATH
7530d66758cb emacs: prevent tramp from trying to be clever about PATH
Augie Fackler <raf@durin42.com>
parents:
diff changeset
2 (require 'tramp)
7530d66758cb emacs: prevent tramp from trying to be clever about PATH
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3 (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
414
1b5d9d370b04 tramp: use bash on a FreeBSD machine
Augie Fackler <raf@durin42.com>
parents: 327
diff changeset
4
1b5d9d370b04 tramp: use bash on a FreeBSD machine
Augie Fackler <raf@durin42.com>
parents: 327
diff changeset
5 ;; sometime in 2014 tramp started passing -l to sh, which doesn't work
1b5d9d370b04 tramp: use bash on a FreeBSD machine
Augie Fackler <raf@durin42.com>
parents: 327
diff changeset
6 ;; with BSD sh. Use bash instead.
1b5d9d370b04 tramp: use bash on a FreeBSD machine
Augie Fackler <raf@durin42.com>
parents: 327
diff changeset
7 (add-to-list 'tramp-connection-properties
1b5d9d370b04 tramp: use bash on a FreeBSD machine
Augie Fackler <raf@durin42.com>
parents: 327
diff changeset
8 (list (regexp-quote "home.durin42.com") "remote-shell" "bash"))
433
779ecb9643c2 tramp: tweak auto-save and backup file behavior for performance
Augie Fackler <raf@durin42.com>
parents: 414
diff changeset
9
779ecb9643c2 tramp: tweak auto-save and backup file behavior for performance
Augie Fackler <raf@durin42.com>
parents: 414
diff changeset
10 ;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files
779ecb9643c2 tramp: tweak auto-save and backup file behavior for performance
Augie Fackler <raf@durin42.com>
parents: 414
diff changeset
11 (add-to-list 'backup-directory-alist
779ecb9643c2 tramp: tweak auto-save and backup file behavior for performance
Augie Fackler <raf@durin42.com>
parents: 414
diff changeset
12 (cons tramp-file-name-regexp nil))
779ecb9643c2 tramp: tweak auto-save and backup file behavior for performance
Augie Fackler <raf@durin42.com>
parents: 414
diff changeset
13 (setq tramp-auto-save-directory temporary-file-directory)