summary refs log tree commit diff
path: root/emacs/custom/my-tramp.el
blob: 02d32f11b59338bb73346260dd13cef21378fd00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;;; my-tramp.el --- Configure tramp
;;; Commentary:
;;; Code:

(require 'use-package)

(use-package tramp
  :custom
  (tramp-default-method "ssh")
  (tramp-histfile-override t)
  (tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))
  (tramp-ssh-controlmaster-options
   "-o ControlMaster=auto -o ControlPath='tramp.%%C'"))

(provide 'my-tramp)
;;; my-tramp.el ends here