Add local bin to TRAMP remote path
This commit is contained in:
parent
4a14dcd6d3
commit
f367b536cb
|
@ -124,3 +124,27 @@
|
||||||
(setq org-roam-capture-templates
|
(setq org-roam-capture-templates
|
||||||
'(("d" "default" plain "%?"
|
'(("d" "default" plain "%?"
|
||||||
:target (file+head "${slug}.org" "#+title: ${title}\n")))))
|
: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")))
|
||||||
|
|
Loading…
Reference in a new issue