This commit is contained in:
Rongsong Shen 2019-04-26 18:38:08 +08:00
parent 64369fe430
commit 63d9eb192c
2 changed files with 20 additions and 2 deletions

View File

@ -111,7 +111,19 @@
(hell-emacs .
(lambda (dir)
(list
(concat "git clone -b doom-emacs https://github.com/shen390s/straight-emacs.git " dir))))))
(concat "git clone -b doom-emacs https://github.com/shen390s/straight-emacs.git " dir))))
(doom-emacs.develop .
(lambda (dir)
(list
(concat "git clone -b develop https://github.com/hlissner/doom-emacs.git " dir)
(concat "cd " dir)
"cp init.example.el init.el"
"make install"
"y")))
(castlemacs .
(lambda (dir)
(list
(concat "git clone https://github.com/freetonik/castlemacs.git " dir))))))
(defun install-emacs-startkit (name location)
"Function to install EMACS startkit. NAME is the name of EMACS startkit.
@ -128,6 +140,11 @@ We use this function to load startkit initialization file"
(set-process-sentinel shell-process 'on-installer-finished)
(display-buffer shell-buffer)
(comint-simple-send shell-process
(concat "PS1=\">\"\n"
"PS2=\">\"\n"
"PROMPT=\">\"\n"
"export PS1 PS2 PROMPT\n"))
(cl-loop for cmd in (funcall (cdr (assoc (intern name) startkit-info))
location)
do (comint-simple-send shell-process

View File

@ -64,7 +64,7 @@ This function should only modify configuration layer settings."
;; `M-m f e R' (Emacs style) to install them.
;; ----------------------------------------------------------------
;;helm
;;auto-completion
auto-completion
ivy
better-defaults
emacs-lisp
@ -92,6 +92,7 @@ This function should only modify configuration layer settings."
epub
github
;gtags
dap
pandoc
(colors :variables
colors-colorize-identifiers 'all