Add local bin to TRAMP remote path

This commit is contained in:
Evie Litherland-Smith 2023-10-16 18:09:42 +01:00
parent 4a14dcd6d3
commit f367b536cb

View file

@ -124,3 +124,27 @@
(setq org-roam-capture-templates
'(("d" "default" plain "%?"
:target (file+head "${slug}.org" "#+title: ${title}\n")))))
;; TRAMP host specific configs
(after! tramp
(setq tramp-default-method "sshx"
tramp-default-remote-shell "/bin/bash"
tramp-remote-path '("~/.local/bin"
"/run/wrappers/bin"
"/run/current-system/sw/bin"
tramp-default-remote-path
"/bin"
"/usr/bin"
"/sbin"
"/usr/sbin"
"/usr/local/bin"
"/usr/local/sbin"
"/local/bin"
"/local/freeware/bin"
"/local/gnu/bin"
"/usr/freeware/bin"
"/usr/pkg/bin"
"/usr/contrib/bin"
"/opt/bin"
"/opt/sbin"
"/opt/local/bin")))