summary refs log tree commit diff
path: root/emacs/custom/my-tramp.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom/my-tramp.el')
-rw-r--r--emacs/custom/my-tramp.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el
new file mode 100644
index 0000000..9854dab
--- /dev/null
+++ b/emacs/custom/my-tramp.el
@@ -0,0 +1,15 @@
+;;; my-tramp.el --- Configure tramp
+;;; Commentary:
+;;; Code:
+
+(require 'use-package)
+
+(use-package tramp
+  :custom
+  (tramp-default-method "ssh")
+  (tramp-histfile-override t)
+  (tramp-ssh-controlmaster-options
+   "-o ControlMaster=auto -o ControlPath='tramp.%%C'"))
+
+(provide 'my-tramp)
+;;; my-tramp.el ends here