Stephan Lindner <[email protected]> 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. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
