From 1cdffadfef6c8efeb92290f70353009f8c0496d6 Mon Sep 17 00:00:00 2001 From: AChavali Date: Sat, 8 Feb 2020 13:21:16 +0000 Subject: ~copy-file -> copy-directory When doing an offline template download, it's more the directory than a file that you're copying and moving. --- doom.d/modules/gentemplate.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom.d/modules/gentemplate.org b/doom.d/modules/gentemplate.org index 6df07db..7cf8adc 100644 --- a/doom.d/modules/gentemplate.org +++ b/doom.d/modules/gentemplate.org @@ -20,7 +20,7 @@ a URL and clone to the destination using magit-clone-regular. * Copy and move template for a template name and destination directory #+BEGIN_SRC elisp (defun oreodave/templates/copy-template (template-name dest) - (copy-file (expand-file-name (concat "~/Projects/Templates/" template-name)) dest)) + (copy-directory (expand-file-name (concat "~/Projects/Templates/" template-name)) dest)) #+END_SRC * Find if online or not Function which checks that the network connections are = 1. If only one network -- cgit v1.2.3-13-gbd6f