tramp-devel
[Top][All Lists]
Advanced

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

Re: Problem with tramp and magit


From: Stephan Lindner
Subject: Re: Problem with tramp and magit
Date: Fri, 22 Jun 2018 10:55:29 -0700
User-agent: mu4e 1.1.0; emacs 24.5.1

Perfect, that solved it!  Thank you so much!

Best,


        Stephan


Michael Albinus writes:

> Stephan Lindner <address@hidden> writes:
>
>> Hi Michael,
>
> Hi Stephan,
>
> [pls keep the Cc, for the archives]
>
>> I searched a bit around and included the following in .profile in my
>> remote home directory:
>>
>>   | PATH=/home/users/lindners/bin:$PATH
>>   | export PATH
>>
>> I also added the following to my init.el:
>>
>>   | (add-to-list 'tramp-remote-path "/home/users/lindners/bin")
>>   | (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
>>
>>
>> Still, M-! "which git" gives me "/usr/bin/git", which is not the path,
>> and thereby version, that I want.
>>
>> So the question is: What do I need to do such that executing M-! in a
>> remote buffer yields
>> "/home/users/lindners/bin/git" or "~/bin/git"?
>
> Tramp caches connection properties. After changing `tramp-remote-path',
> you must instruct Tramp to recompute them. Call "M-x
> tramp-cleanup-this-connection", assuming your current buffer is a remote one.
>
>> Thanks again!
>>
>> Best,
>>
>>         Stephan
>
> Best regards, Michael.


-- 
Stephan Lindner
3001 NE 29th Ave
Portland OR 97212



reply via email to

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