Skip to content

Commit

Permalink
Update documentation about using yadm with magit
Browse files Browse the repository at this point in the history
  • Loading branch information
yangsheng6810 committed Nov 16, 2019
1 parent 5aa1a7b commit 2982f33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yadm.1
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,12 @@ Emacs Tramp and Magit can manage files by using this configuration:
'("yadm"
(tramp-login-program "yadm")
(tramp-login-args (("enter")))
(tramp-login-env (("SHELL") ("/bin/sh")))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-args ("-c"))))
.RE
and use (magit-status "/yadm::"). If you find issue with Emacs 27 and zsh,
trying running (setenv "SHELL" "/bin/bash").
.TP
.B gitconfig
Pass options to the
Expand Down

0 comments on commit 2982f33

Please sign in to comment.