Mercurial > dotfiles
changeset 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 | 78dedd5483fa |
children | 4c9beb0d5753 |
files | .elisp/settings/10.tramp.el |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.elisp/settings/10.tramp.el +++ b/.elisp/settings/10.tramp.el @@ -1,3 +1,8 @@ ;; Prevent TRAMP from being too clever about $PATH (require 'tramp) (add-to-list 'tramp-remote-path 'tramp-own-remote-path) + +;; sometime in 2014 tramp started passing -l to sh, which doesn't work +;; with BSD sh. Use bash instead. +(add-to-list 'tramp-connection-properties + (list (regexp-quote "home.durin42.com") "remote-shell" "bash"))