"Ben Hyde" <[email protected]> writes: Hi Ben,
> This is kind of embarrassing, but here goes. > > Consider to scenarios: > In emacs > A.1) M-x find-file /[email protected] > A.2) M-x shell > A.3) echo $PATH > v.s. > In a terminal session > B.1) ssh [email protected] > B.2) echo $PATH > > The PATH is different. Why? For example, is one a login shell and the > other isn’t? > Possibly with the help of a /bin/sh usage around A.1 > > I’m confused Per default, Tramp does not offer the PATH settings from your login shell. If you want them, add `tramp-own-remote-path' to `tramp-remote-path'. See (info "(tramp) Remote programs") Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
