Michael Albinus <[email protected]> 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:
--8<---------------cut here---------------start------------->8---
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))
--8<---------------cut here---------------end--------------->8---
>> Thanks,
>> Dave
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel