Augie Fackler <[email protected]> writes:
Hi Augie,
> Is there any knob I can adjust that would let me not pass -l to the sh
> instance? This particular machine has bash installed, but not all of
> the ones I talk to do, and not losing tramp-own-remote-path would be
> nice in those instances.
Likely, it is sufficient for you to apply the following patch:
--8<---------------cut here---------------start------------->8---
*** /usr/share/emacs/24.5/lisp/net/tramp-sh.el.orig 2015-12-22
11:37:44.438987596 +0100
--- /usr/share/emacs/24.5/lisp/net/tramp-sh.el 2015-12-22 11:37:44.506988476
+0100
***************
*** 5056,5062 ****
(tramp-file-name-method vec) 'tramp-remote-shell-args)
" ")
(tramp-shell-quote-argument tramp-end-of-heredoc))
! nil (regexp-quote tramp-end-of-heredoc)))))
;; Replace place holder `tramp-default-remote-path'.
(when elt1
--- 5056,5062 ----
(tramp-file-name-method vec) 'tramp-remote-shell-args)
" ")
(tramp-shell-quote-argument tramp-end-of-heredoc))
! 'noerror (regexp-quote tramp-end-of-heredoc)))))
;; Replace place holder `tramp-default-remote-path'.
(when elt1
--8<---------------cut here---------------end--------------->8---
> Thanks for the quick response!
>
> Augie
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel