mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
docs(upload): append slash to ssh-deploy-root-local
Suffix ssh-deploy-root-local's path with a trailing slash (to be consistent with upstream documentation and the example value for ssh-deploy-root-remote right below it). Co-authored-by: visika <visika@users.noreply.github.com> Ref: #7513
This commit is contained in:
@ -45,7 +45,7 @@ Uses ~ssh-deploy~ to map a local folder to a remote one. Set
|
|||||||
~ssh-deploy-root-remote~ and ~ssh-deploy-root-local~ in a =.dir-locals.el= file
|
~ssh-deploy-root-remote~ and ~ssh-deploy-root-local~ in a =.dir-locals.el= file
|
||||||
to establish this mapping. E.g.
|
to establish this mapping. E.g.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
((nil . ((ssh-deploy-root-local . "/local/path/to/project")
|
((nil . ((ssh-deploy-root-local . "/local/path/to/project/")
|
||||||
(ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
|
(ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
|
||||||
(ssh-deploy-on-explicit-save . 1))))
|
(ssh-deploy-on-explicit-save . 1))))
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -66,7 +66,7 @@ Check out [[https://github.com/cjohansson/emacs-ssh-deploy#deployment-configurat
|
|||||||
** ~root-local~ and ~root-remote~ must match
|
** ~root-local~ and ~root-remote~ must match
|
||||||
The final directory names much match:
|
The final directory names much match:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
((nil . ((ssh-deploy-root-local . "/local/path/to/example-project")
|
((nil . ((ssh-deploy-root-local . "/local/path/to/example-project/")
|
||||||
(ssh-deploy-root-remote . "/ssh:user@server:/remote/example-project/")
|
(ssh-deploy-root-remote . "/ssh:user@server:/remote/example-project/")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user