From f735eff318a50cc9810701c602be249496763507 Mon Sep 17 00:00:00 2001 From: fpi Date: Fri, 14 Feb 2020 11:33:40 +0100 Subject: Prefer PATH settings in ~/.profile in Tramp --- emacs-init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs-init.org b/emacs-init.org index fd0900b..5afb11f 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -1203,6 +1203,15 @@ while for directories with lots of nested files. :ensure t :config (setq dired-du-size-format 't)) #+END_SRC +** Tramp +Set Tramp to prefer the path settings in =~/.profile= over the value +of src_shell{getconf "PATH"}. See [[elisp:(describe-variable +'tramp-remote-path)]] for more info. +#+begin_src emacs-lisp +(use-package tramp + :config + (add-to-list 'tramp-remote-path 'tramp-own-remote-path)) +#+end_src ** Magit #+BEGIN_SRC emacs-lisp -- cgit v1.2.3