Config setup instructions: don't confirm evaluate

I now execute stuff in the tangling of my config. This is fine.
This commit is contained in:
TEC 2021-03-20 21:33:49 +08:00
parent 40e8739e0a
commit d17808fbfb
Signed by: tec
GPG Key ID: 779591AFDB81F06C
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ jobs:
- name: Generate init.el et. al from config.org
if: github.event_name != 'schedule' || steps.doomcache.outputs.cache-hit != 'true'
run: runner "cd ~/.config/doom && emacs --batch --eval \"(require 'org)\" --eval '(org-babel-tangle-file \"config.org\")'"
run: runner "cd ~/.config/doom && emacs --batch --eval \"(require 'org)\" --eval '(progn (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"config.org\"))'"
- name: Setup Doom
if: github.event_name != 'schedule' || steps.doomcache.outputs.cache-hit != 'true'

View File

@ -26,7 +26,7 @@ generate the =init.el= once.
#+begin_src shell :eval query
git clone --recurse-submodules git@github.com:tecosaur/emacs-config.git ~/.config/doom
emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "~/.config/doom/config.org")'
emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"~/.config/doom/config.org\"))"
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install; ~/.config/doom/setup.sh
#+end_src