[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATH set in .bash_profile is not honored by eshell+tramp
From: |
Michael Albinus |
Subject: |
Re: PATH set in .bash_profile is not honored by eshell+tramp |
Date: |
Tue, 27 Jan 2015 08:45:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Adrian Phillips <address@hidden> writes:
> Ah, the fun of bash startup scripts. According to the man page :-
>
> which would mean, unless tramp logs in using --login (presuambly via
> some ssh mechanism) you'll need to setup things in .bashrc.
Yes :-)
Tramp also tries to help. Recently, I have added the following patch in
the Tramp repo:
* tramp-sh.el (tramp-get-remote-path): Use a login shell in order
to determine `tramp-own-remote-path'.
> I've had a .bash_login that sources .bashrc for decades now to avoid all
> these problems.
A pull from the Tramp git repository shall also support PATH settings in
.bash_profile and alike.
> Sincerely,
>
> Adrian Phillips
Best regards, Michael.