From e893f0d6d44decceb43c61ac4bdd14c3523f0ad5 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 4 Jul 2024 14:50:09 +0200 Subject: [PATCH] Update 50_tangle_emacs_config.sh --- run_onchange_50_tangle_emacs_config.sh.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_onchange_50_tangle_emacs_config.sh.tmpl b/run_onchange_50_tangle_emacs_config.sh.tmpl index d7ebc63..504de3f 100644 --- a/run_onchange_50_tangle_emacs_config.sh.tmpl +++ b/run_onchange_50_tangle_emacs_config.sh.tmpl @@ -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\")"