Reformat `enter` documentation

This commit is contained in:
Tim Byrne 2017-03-30 16:30:44 -05:00
parent 6974e4ce8c
commit b4e73abc9f
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 9 additions and 10 deletions

19
yadm.1
View File

@ -179,18 +179,17 @@ Encrypt all files matching the patterns found in
See the ENCRYPTION section for more details.
.TP
.B enter
Run a subshell with all git variables set. This can be used to easily
interact with your git repository. This is also useful if you are using
Emacs Tramp and magit to manage your directory. You can add this
configuration in your emacs configuration:
Run a sub-shell with all Git variables set. This can be used to easily interact
with your Git repository. This is also useful if you are using Emacs Tramp and
Magit to manage your directory. You can add this configuration in your Emacs
configuration:
.RS
(add-to-list 'tramp-methods
'("yadm"
(tramp-login-program "yadm")
(tramp-login-args (("enter")))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-args ("-c"))))
'("yadm"
(tramp-login-program "yadm")
(tramp-login-args (("enter")))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-args ("-c"))))
.RE
.TP
.B gitconfig