Adrian Phillips <[email protected]> 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.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to