summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-02-14 11:33:40 +0100
committerfpi2020-02-23 18:07:14 +0100
commitf735eff318a50cc9810701c602be249496763507 (patch)
tree9706cac94f6549761cb19f06ef27cea13d83eccc
parentAdd a capture template for bibtex entries (diff)
Prefer PATH settings in ~/.profile in Tramp
-rw-r--r--emacs-init.org9
1 files changed, 9 insertions, 0 deletions
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