summary refs log tree commit diff
path: root/emacs/custom/my-tramp.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-23 09:55:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-23 09:55:58 -0700
commit1543ac66ba6f829082b745e6a11a9aeb9e8faec7 (patch)
treef06103de2e5d82426877595cd23d6201f2cdb000 /emacs/custom/my-tramp.el
parentrename fcuny-org to my-org (diff)
downloademacs.d-1543ac66ba6f829082b745e6a11a9aeb9e8faec7.tar.gz
rename a few more libraries
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