diff options
author | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
commit | a187752c824b47052d33d3bc12749b5a7d2e8191 (patch) | |
tree | d939397496dcae8a7634a93b159fab57ee1752ec /emacs/custom/my-tramp.el | |
parent | elfeed: add more feeds (diff) | |
download | emacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz |
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-tramp.el | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el deleted file mode 100644 index 897d48c..0000000 --- a/emacs/custom/my-tramp.el +++ /dev/null @@ -1,24 +0,0 @@ -;;; my-tramp.el --- Configure tramp -*- lexical-binding: t -*- - -;;; Commentary: - -;;; Code: - -(customize-set-variable 'tramp-default-method "ssh") -(customize-set-variable 'tramp-histfile-override t) -(customize-set-variable 'tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'") - -(defcustom my/ssh-hosts '("192.168.0.1:9922" - "192.168.0.106") - "List of hosts I regularly connect to." - :type '(repeat string) - :group 'tramp) - -(defun my/ssh-cd-home () - "Prompt for an SSH host and open a DIRED buffer on that machine." - (interactive) - (let ((machine (completing-read "Machine: " my/ssh-hosts))) - (find-file (format "/ssh:%s:~" machine)))) - -(provide 'my-tramp) -;;; my-tramp.el ends here |