diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-18 20:02:01 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-18 20:02:01 -0700 |
commit | d87ced1e533ef8d1a030adf8a3996552ca92b519 (patch) | |
tree | dc063a9da8824ab559fd562b0a06ba21aee85611 /emacs | |
parent | UI: simplify the code (diff) | |
download | emacs.d-d87ced1e533ef8d1a030adf8a3996552ca92b519.tar.gz |
tramp: get rid of `use-package'
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/my-tramp.el | 18 |
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 |