[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default remote shell in tramp

From: Vinh Nguyen
Subject: Re: default remote shell in tramp
Date: Thu, 17 Jun 2010 14:30:39 -0700

On Thu, Jun 17, 2010 at 12:27 PM, Michael Albinus
<address@hidden> wrote:
> Yes. You could change the used remote shell in `tramp-methods' to
> bash. If you, for example, use "ssh", you could apply
> (setcdr (assoc 'tramp-remote-sh (assoc "ssh" tramp-methods)) '("/bin/bash"))


(require 'tramp)
(setq tramp-default-method "ssh")
;; do C-x f, /address@hidden:~/
(setcdr (assoc 'tramp-remote-sh (assoc "ssh" tramp-methods)) '("/bin/bash"))

The above does not work.  Appears to still be using /bin/sh.  Any
other suggestions?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]