unquote incus-tramp-incus-program in tramp-methods definitions
This commit is contained in:
+7
-5
@@ -14,11 +14,13 @@ similarly to how it is implemented for Docker, Podman, and other programs.
|
||||
** Configuration
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package incus-tramp
|
||||
:ensure t
|
||||
:after tramp :vc (incus-tramp :url https://github.com/mdnight/incus-tramp.git
|
||||
:branch main)
|
||||
:config (incus-tramp-enable-method))
|
||||
(use-package incus-tramp
|
||||
:ensure nil
|
||||
:after tramp
|
||||
:vc (incus-tramp :url "https://github.com/mdnight/incus-tramp.git"
|
||||
:rev "v0.1.0")
|
||||
:config
|
||||
(incus-tramp-enable-method))
|
||||
#+end_src
|
||||
|
||||
** Usage
|
||||
|
||||
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user