summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-tramp.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el
index 02d32f1..469b58f 100644
--- a/emacs/custom/my-tramp.el
+++ b/emacs/custom/my-tramp.el
@@ -1,16 +1,16 @@
-;;; my-tramp.el --- Configure tramp
+;;; my-tramp.el --- Configure tramp -*- lexical-binding: t -*-
+
 ;;; Commentary:
+
 ;;; Code:
 
-(require 'use-package)
+(require 'tramp)
+(require 'tramp-sh)
 
-(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'"))
+(setq tramp-default-method "ssh")
+(setq tramp-histfile-override t)
+(setq tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))
+(setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'")
 
 (provide 'my-tramp)
 ;;; my-tramp.el ends here