Fixed issue with `tramp-methods is void' error
This commit is contained in:
parent
a6b3a60910
commit
92d5c67e8e
@ -1278,6 +1278,7 @@
|
|||||||
(require 'package)
|
(require 'package)
|
||||||
(require 'ox-latex)
|
(require 'ox-latex)
|
||||||
(require 'ox-publish)
|
(require 'ox-publish)
|
||||||
|
(require 'tramp)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
I also want to load what’s in ~icons-in-terminal~ so I can use them in various
|
I also want to load what’s in ~icons-in-terminal~ so I can use them in various
|
||||||
@ -2918,6 +2919,13 @@
|
|||||||
:CUSTOM_ID: h-fb5284ed-9862-4ba5-9d92-78b466ab65f8
|
:CUSTOM_ID: h-fb5284ed-9862-4ba5-9d92-78b466ab65f8
|
||||||
:END:
|
:END:
|
||||||
yadm is the utility I use for managing my dotfiles, and it is a wrapper
|
yadm is the utility I use for managing my dotfiles, and it is a wrapper
|
||||||
|
In order to manage my dotfiles, I use the following shortcut to launch Magit
|
||||||
|
Status for yadm:
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(spacemacs/declare-prefix "oy" "yadm status")
|
||||||
|
(spacemacs/set-leader-keys "oy" (lambda () (interactive) (magit-status "/yadm::")))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
around ~git~. Logically, it means Magit could theoretically manage my yadm
|
around ~git~. Logically, it means Magit could theoretically manage my yadm
|
||||||
repo. And it is indeed possible, according to [[https://github.com/TheLocehiliosan/yadm/blob/master/yadm.md][this page]] using TRAMP. I just
|
repo. And it is indeed possible, according to [[https://github.com/TheLocehiliosan/yadm/blob/master/yadm.md][this page]] using TRAMP. I just
|
||||||
need to add the following code snippet:
|
need to add the following code snippet:
|
||||||
@ -2926,18 +2934,12 @@
|
|||||||
'("yadm"
|
'("yadm"
|
||||||
(tramp-login-program "yadm")
|
(tramp-login-program "yadm")
|
||||||
(tramp-login-args (("enter")))
|
(tramp-login-args (("enter")))
|
||||||
(tramp-login-env (("SHELL") ("/bin/sh")))
|
(tramp-login-env (("SHELL")
|
||||||
|
("/bin/sh")))
|
||||||
(tramp-remote-shell "/bin/sh")
|
(tramp-remote-shell "/bin/sh")
|
||||||
(tramp-remote-shell-args ("-c"))))
|
(tramp-remote-shell-args ("-c"))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
In order to manage my dotfiles, I use the following shortcut to launch Magit
|
|
||||||
Status for yadm:
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(spacemacs/declare-prefix "oy" "yadm status")
|
|
||||||
(spacemacs/set-leader-keys "oy" (lambda () (interactive) (magit-status "/yadm::")))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Footnotes
|
* Footnotes
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h-a471c99d-e731-4196-9e69-beb0359962bd
|
:CUSTOM_ID: h-a471c99d-e731-4196-9e69-beb0359962bd
|
||||||
|
Loading…
Reference in New Issue
Block a user