|
@ -1,15 +0,0 @@ |
|
|
#!/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 |
|
|
|