From e9724dcfd0f7b2f0044b399c9dfab91f9919af23 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 1 Dec 2019 06:34:10 +0000 Subject: [PATCH] added init script --- create-init.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 create-init.sh diff --git a/create-init.sh b/create-init.sh new file mode 100755 index 0000000..c352a92 --- /dev/null +++ b/create-init.sh @@ -0,0 +1,10 @@ +#!/bin/sh +rm ./init.el + +cat <./init.el +(require 'org') +(find-file (concat user-emacs-directory "init.org")) +(org-babel-tangle) +(load-file (concat user-emacs-directory "init.el")) +(byte-compile-file (concat user-emacs-directory "init.el")) +EOF