[Top][All Lists]

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

Re: tramp (; Need to source ~/.profile to make remote comman

From: Michael Albinus
Subject: Re: tramp (; Need to source ~/.profile to make remote commands work
Date: Wed, 10 Aug 2016 18:40:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Dave Abrahams <address@hidden> writes:

Hi Dave,

> Hmm, it seems I can get the basic effect I need by putting
> 'tramp-own-remote-path on the head of tramp-remote-path.  How can that
> possibly work if tramp isn't executing my .profile?

If Tramp detects `tramp-own-remote-path', it opens a login shell and
reads the path settings from there.

Since you have said that "My working environment depends on ~/.profile",
I thought you need more but only $PATH from your .profile. That's why
I've implemented this solution via $ENV.

Best regards, Michael.

reply via email to

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