Mercurial > dotfiles
annotate .elisp/settings/10.tramp.el @ 414:1b5d9d370b04
tramp: use bash on a FreeBSD machine
tramp appears to be unclear on the concept of portable shell
scripting. This is an interim hack until I can figure out what's going
on.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 31 Jan 2016 20:37:35 -0500 |
parents | 7530d66758cb |
children | 779ecb9643c2 |
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")) |