[Top][All Lists]

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

Re: 'exec /bin/bash --login' in ~/.profile

From: Marc Girod
Subject: Re: 'exec /bin/bash --login' in ~/.profile
Date: Thu, 10 Feb 2011 13:43:59 +0000 (UTC)
User-agent: Loom/3.14 (

Michael Albinus <michael.albinus <at>> writes:

> PATH is always set by a new connection. You can control it by
> `tramp-remote-path', see the manual for details. If you want to keep
> your PATH as set in ~/.bash_profile, use `tramp-own-remote-path'.

I'll try that. Thanks.
> Btw, what are the results of the following commands on your remote host:
> # uname -sr
> # getconf PATH

$ uname -sr
SunOS 5.10
$ getconf PATH

> As I said: shell-mode is (likely) not aware of remote hosts. It might
> always use explicit-shell-file-name, whereever you are.

Got it.
> The reason is, that Tramp must detect the prompt under *any*
> circumstances, whatever file contents is transferred over the wire.
> Back in November there was already a discussion about this issue. See
> <>

Will do.

reply via email to

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