diff options
author | Crazazy | 2022-04-23 00:12:07 +0200 |
---|---|---|
committer | Crazazy | 2022-04-23 00:12:07 +0200 |
commit | c8adcc439ec586cfb1f1d8c8c33b6e1080efeaad (patch) | |
tree | 720b64addb856f819dee6986e6e218b994ceeaa9 /readme.org | |
parent | 9dcdc9e4312476a6a1add7ac41220a4d0c93b799 (diff) |
fix shell script
Diffstat (limited to 'readme.org')
-rw-r--r-- | readme.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.org b/readme.org index d55edd0..525209d 100644 --- a/readme.org +++ b/readme.org @@ -8,7 +8,7 @@ In this document I'm mostly going to set up some prerequisites for tangling othe * Maintenance links :noexport: This is for the org-mode side only It is assumed that you have nix and emacs installed for this config to work. You can tangle all files [[elisp:(dolist (i (directory-files (file-name-directory (buffer-file-name (current-buffer))) t "\\.org$")) (org-babel-tangle-file i))][with this lisp]] - You can export all org files to html with a [[shell:for i in *.org; do emacs -Q $i --batch --eval "(org-html-export-to-html)" & done; rm style.html*; scp *.html cafe:public_html/][this small script]] + You can export all org files to html with a [[shell:(for i in *.org; do emacs -Q $i --batch --eval "(org-html-export-to-html)"; done; rm style.html*; scp *.html cafe:public_html/) &][this small script]] You can then install required dependencies with [[shell:./bootstrap.sh &][the bootstrap link]] * Dependencies Dependencies are handled by [[https://github.com/nmattia/niv][niv]]. I have put the dependencies in a shell file, rather than the output |