[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: Dave Abrahams
Subject: Re: tramp (; Need to source ~/.profile to make remote commands work
Date: Tue, 09 Aug 2016 12:56:09 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

on Tue Aug 09 2016, Michael Albinus <> wrote:

> Michael Albinus <address@hidden> writes:
> Hi Dave and Stéphane,
>> A possibility to source ~/.profile would be to set $ENV in
>> `tramp-remote-process-environment'. But this doesn't work yet, Tramp
>> nukes $ENV to the empty string these days.
> I've committed a patch to the Tramp and Emacs repositories, master
> branch. The Tramp manual says now:
>    Setting the ‘ENV’ environment variable instructs some shells to read
> an initialization file.  Per default, TRAMP has disabled this.  You
> could overwrite this behaviour by evaluating
>      (let ((process-environment tramp-remote-process-environment))
>        (setenv "ENV" "$HOME/.profile")
>        (setq tramp-remote-process-environment process-environment))


Thank you, Michael!


reply via email to

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