summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs-kj/init.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 6e7344b..f6db726 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -665,7 +665,15 @@
(setenv "EDITOR" "emacsclient"))
(setq eshell-prefer-lisp-functions t)
(setq tramp-remote-path '(tramp-own-remote-path))
-
+;; (defun eshell/ssh (&rest args)
+;; (if (= 1 (length args))
+;; (progn
+;; (message "got here")
+;; (format "%s|ssh:%s:" default-directory (car args)))
+;; (throw 'eshell-replace-command
+;; (eshell-parse-command "*ssh"
+;; (eshell-stringify-list (flatten-tree args))))))
+;; (add-to-list 'eshell-complex-commands "ssh")
(use-package idle-highlight-mode
:config