[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 (http://gmane.org/) |
Michael Albinus <michael.albinus <at> gmx.de> 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
/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/SUNWspro/bin
> 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
> <http://thread.gmane.org/gmane.emacs.tramp/7527/focus=7527>
Will do.
Thanks.
Marc
- 'exec /bin/bash --login' in ~/.profile, Marc Girod, 2011/02/09
- Re: 'exec /bin/bash --login' in ~/.profile, Michael Albinus, 2011/02/09
- Re: 'exec /bin/bash --login' in ~/.profile, Marc Girod, 2011/02/09
- Re: 'exec /bin/bash --login' in ~/.profile, Michael Albinus, 2011/02/09
- Re: 'exec /bin/bash --login' in ~/.profile, Marc Girod, 2011/02/09
- Re: 'exec /bin/bash --login' in ~/.profile, Marc Girod, 2011/02/10
- Re: 'exec /bin/bash --login' in ~/.profile, Michael Albinus, 2011/02/10
- Re: 'exec /bin/bash --login' in ~/.profile,
Marc Girod <=
- Re: 'exec /bin/bash --login' in ~/.profile, Marc Girod, 2011/02/10
- Re: 'exec /bin/bash --login' in ~/.profile, Michael Albinus, 2011/02/10