You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
399 B
15 lines
399 B
#!/bin/sh
|
|
rm ./init.el
|
|
rm ./init.elc
|
|
|
|
# caused 'invalid byte-code object'
|
|
# when use-package already installed and running emacs after this script
|
|
rm -rf ./elpa/use-package*
|
|
|
|
cat <<EOF >./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
|