From 40a2fffac756440881b29c72700be2a75ed43a24 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 19 Sep 2018 23:48:05 -0400 Subject: [PATCH] tools/upload: clarify instructions in comments --- modules/tools/upload/config.el | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/tools/upload/config.el b/modules/tools/upload/config.el index 19615aa4a..ce1dcfe15 100644 --- a/modules/tools/upload/config.el +++ b/modules/tools/upload/config.el @@ -1,17 +1,16 @@ ;;; tools/upload/config.el -*- lexical-binding: t; -*- -;; Uses `ssh-deploy' to map a local folder to a remote one. Use -;; `ssh-deploy-root-remote' and `ssh-deploy-root-local' to set up this mapping. +;; 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 +;; to establish this mapping. ;; ;; Example: -;; (setq ssh-deploy-root-local "/home/hlissner/work/site/" -;; ssh-deploy-root-remote "/ssh:hlissner@myserver.com:/var/www/site/" -;; ssh-deploy-on-explicity-save t) +;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project") +;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/") +;; (ssh-deploy-on-explicity-save . t)))) ;; ;; Note: `ssh-deploy-root-local' is optional, and will resort to ;; `doom-project-root' if unspecified. -;; -;; Can be used via .dir-locals.el file in your project. (def-package! ssh-deploy :commands (ssh-deploy-upload-handler