Vinh Nguyen <[email protected]> writes: > Dear list,
Hi, > First, my goal is to have access to my PATH that I modify in my > .bashrc file on remote machines. However, when I invoke "!" or "&" in > dired, the commands are not found: > /bin/sh: MYCOMMAND: not found > > I figure this is because bash is not used by tramp even though bash is > the default login shell on my remote systems. Why isn't tramp using > it? I understand that one way around this is to set the tramp path. > However, I don't want to go this route since different machines have > different PATHs. Is there a way to set tramp to use the remote login > shell? Tramp ignores your PATH settings by default. If you want to enable them, you must add to your .emacs (add-to-list 'tramp-remote-path 'tramp-own-remote-path) See (info "(tramp) Remote Programs") This is available since Tramp 2.1.16. > Thanks. > Vinh Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
