Update 50_tangle_emacs_config.sh
This commit is contained in:
parent
509d4a0c83
commit
e893f0d6d4
1 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
ORG_FILE="{{ joinPath .chezmoi.sourceDir "private_dot_emacs.d/config.org" }}"
|
||||
TANGLED_FILE="$HOME/.emacs.d/init.el"
|
||||
|
||||
mkdir -p "$(dirname "$TANGLED_FILE")"
|
||||
|
||||
emacs --batch -l org \
|
||||
--eval "(org-babel-tangle-file \"$ORG_FILE\" \"$TANGLED_FILE\" \"emacs-lisp\")"
|
||||
emacs --batch -l org --eval "(org-babel-tangle-file \"$ORG_FILE\")"
|
||||
|
|
Loading…
Reference in a new issue