Compare commits

..

2 Commits

Author SHA1 Message Date
mdnight 5f3ee4643d simplify the config example 2026-05-22 01:15:43 +00:00
mdnight 83862b8d03 simplify the config example 2026-05-22 01:15:08 +00:00
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -15,7 +15,6 @@ similarly to how it is implemented for Docker, Podman, and other programs.
#+begin_src emacs-lisp
(use-package incus-tramp
:ensure nil
:after tramp
:vc (incus-tramp :url "https://github.com/mdnight/incus-tramp.git"
:rev "v0.1.0")
+2 -2
View File
@@ -68,8 +68,8 @@
(defun incus-tramp-enable-method ()
(with-eval-after-load 'tramp
(add-to-list 'tramp-methods
`(incus-tramp-method
(tramp-login-program incus-tramp-incus-program)
`(,incus-tramp-method
(tramp-login-program ,incus-tramp-incus-program)
(tramp-login-args (("exec") ("%h") (,(format "--env TERM=%s" tramp-terminal-type)) ("--") ("%l")))
(tramp-direct-async (,tramp-default-remote-shell "-c"))
(tramp-remote-shell ,tramp-default-remote-shell)