From b176cb1748240f0f8efbf7541001afac356acc5a Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 16 Mar 2025 10:26:07 +0100 Subject: [PATCH] Store TRAMP history in main userdata directory --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 2ea27e4..31095ef 100644 --- a/init.el +++ b/init.el @@ -2149,7 +2149,8 @@ Note that this workaround is incomplete, as explained in this comment." (use-package tramp :init (setq tramp-default-method (if on-windows "pscp" "scp") - tramp-completion-use-auth-sources nil)) + tramp-completion-use-auth-sources nil + tramp-histfile-override (expand-file-name "tramp-history" emacs-d-userdata))) (use-package trashed ;; A simple dired-like interface to the system trash bin