diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-12-07 11:59:34 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-12-07 11:59:34 +0100 |
| commit | 960ea45023c0c51d9a85d00de96a4d953f3e5cf9 (patch) | |
| tree | 388ed4c8411bde97a80b165cc27bb60bd4d6219a | |
| parent | 35085e5e316b50ae16032840ba3c16f36dd5134b (diff) | |
Configure Tramp for Remote Shell PATH
I use tramp in enviroments where I care about the remote `PATH` - so
change the default tramp path to use the `PATH` from the shell,
instead of setting its own default.
| -rw-r--r-- | config/emacs/init.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 490e6a0..dee639d 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -11,6 +11,8 @@ ;; 2. Try out neocaml - tree-sitter based OCaml mode ;; 3. Take some stuff from Emacs NANO ;; <https://github.com/rougier/nano-emacs> +;; 4. Take some stuff from Emacs Bedrock +;; <https://codeberg.org/ashton314/emacs-bedrock> ;;; Code: @@ -226,7 +228,11 @@ If the current buffer is not open in the devbox, then this function just runs "->" "-->" "<!--" "<=" "=>" ">=" "<<" ">>" "<>" "<|" "|>" "</" "/>" "</>" "#(" "#{" "#[" "#!" "##" "###" "####" "[|" "|]" "[<" ">]" "{|" "|}" "{{" "}}" "//" "///" "&&" "++" "||" "==" "===" - "=~" "~-" "__" "!=" "!==" "--" "---")))) + "=~" "~-" "__" "!=" "!==" "--" "---"))) + + (use-package tramp + :config + (add-to-list 'tramp-remote-path 'tramp-own-remote-path))) ;;; -- OCaml -- |
