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 . (hell-emacs .
(lambda (dir) (lambda (dir)
(list (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) (defun install-emacs-startkit (name location)
"Function to install EMACS startkit. NAME is the name of EMACS startkit. "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) (set-process-sentinel shell-process 'on-installer-finished)
(display-buffer shell-buffer) (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)) (cl-loop for cmd in (funcall (cdr (assoc (intern name) startkit-info))
location) location)
do (comint-simple-send shell-process 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. ;; `M-m f e R' (Emacs style) to install them.
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
;;helm ;;helm
;;auto-completion auto-completion
ivy ivy
better-defaults better-defaults
emacs-lisp emacs-lisp
@ -92,6 +92,7 @@ This function should only modify configuration layer settings."
epub epub
github github
;gtags ;gtags
dap
pandoc pandoc
(colors :variables (colors :variables
colors-colorize-identifiers 'all colors-colorize-identifiers 'all