about summary refs log tree commit diff
path: root/users/wpcarro
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/ssh.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/ssh.el b/users/wpcarro/emacs/.emacs.d/wpc/ssh.el
index 4e6f8fef75c8..eb7debc492be 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/ssh.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/ssh.el
@@ -41,10 +41,8 @@
 ;; enables ControlMaster.
 (setq tramp-use-ssh-controlmaster-options nil)
 
-(defcustom ssh-hosts '("desktop")
-  "List of hosts to which I commonly connect.
-Note: It could be interesting to read these values from ~/.ssh-config, but
-  that's more than I need at the moment.")
+(defcustom ssh-hosts '("wpcarro@wpcarro.dev")
+  "List of hosts to which I commonly connect.")
 
 (defun ssh-sudo-buffer ()
   "Open the current buffer with sudo rights."
@@ -58,7 +56,7 @@ Note: It could be interesting to read these values from ~/.ssh-config, but
   "Prompt for an SSH host and open a dired buffer for wpcarro on that machine."
   (interactive)
   (let ((machine (completing-read "Machine: " ssh-hosts)))
-    (find-file (format "/ssh:wpcarro@%s:~" machine))))
+    (find-file (format "/ssh:%s:~" machine))))
 
 (provide 'ssh)
 ;;; ssh.el ends here