diff --git a/configuration.org b/configuration.org index 4348a9d46be47ed69fe1905f34f2b74713c4beab..faeecf8936953196ac3b3ad9df332df7975fc727 100644 --- a/configuration.org +++ b/configuration.org @@ -882,11 +882,12 @@ For rust ;; :major-modes '(rust-mode) ;; :remote? t ;; :server-id 'rust-analyzer-remote)) -(add-to-list 'tramp-remote-path "~/.cargo/bin") +(if (boundp 'tramp-remote-path) + (add-to-list 'tramp-remote-path "~/.cargo/bin") + (setq tramp-remote-path '("~/.cargo/bin")) + ) #+end_src -#+RESULTS: -| ~/.cargo/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 | *** Integration with treemacs @@ -975,7 +976,7 @@ For dockerfiles and docker-compose files, install some docker packages (use-package dockerfile-mode) (use-package docker-compose-mode) (use-package docker) -(use-package docker-tramp) +;(use-package docker-tramp) (use-package docker-api) (use-package docker-cli) #+end_src