From f367b536cbe8685e60b666f08e4524f28200223e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 16 Oct 2023 18:09:42 +0100 Subject: [PATCH] Add local bin to TRAMP remote path --- home/emacs/doom/config.el | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/home/emacs/doom/config.el b/home/emacs/doom/config.el index eb852ba2..fdf113d6 100644 --- a/home/emacs/doom/config.el +++ b/home/emacs/doom/config.el @@ -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")))