From a8ba7dbaac3cd7f004aa5e470793bbdf8c708a38 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 17 Oct 2023 11:27:40 +0200 Subject: [PATCH] Trying to make TRAMP faster --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 106db71..711a50e 100644 --- a/init.el +++ b/init.el @@ -70,11 +70,13 @@ (use-package tramp :config - ;; TODO ugly `ccr' hardcoded + ;; TODO ugly `ccr' hardcoded, moreover this makes sense only when connecting to NixOS machines (add-to-list 'tramp-remote-path "/home/ccr/.nix-profile/bin" 't) (add-to-list 'tramp-remote-path "/etc/profiles/per-user/ccr/bin" 't) (add-to-list 'tramp-remote-path "/run/current-system/sw/bin" 't) (add-to-list 'tramp-remote-path 'tramp-own-remote-path) + :custom + (tramp-use-ssh-controlmaster-options nil) ;; makes tramp use ~/.ssh/config ) (use-package dracula-theme