summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-08 11:45:19 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-08 11:45:19 -0700
commita20fd2b4c32f2f6902d9d695a69a0189f6fa3902 (patch)
tree7a5332b35b4f2e97c61485e5a65614ac5e935e3a /emacs
parentemacs: add function to clone a git repository (diff)
downloademacs.d-a20fd2b4c32f2f6902d9d695a69a0189f6fa3902.tar.gz
emacs: minor improvements for tramp
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/fcuny-tramp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-tramp.el b/emacs/custom/fcuny-tramp.el
index 52c035a..2a087c2 100644
--- a/emacs/custom/fcuny-tramp.el
+++ b/emacs/custom/fcuny-tramp.el
@@ -1,5 +1,8 @@
 (use-package tramp
   :custom
-  (tramp-default-method "ssh"))
+  (tramp-default-method "ssh")
+  (tramp-histfile-override t)
+  (tramp-ssh-controlmaster-options
+      "-o ControlMaster=auto -o ControlPath='tramp.%%C'"))
 
 (provide 'fcuny-tramp)