From 63d9eb192c16ce5ac5bccc456ddaf5a2209886ff Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Fri, 26 Apr 2019 18:38:08 +0800 Subject: [PATCH] improve --- init/multi-emacs-config.el | 19 ++++++++++++++++++- spacemacs/init.spacemacs.develop.el | 3 ++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/init/multi-emacs-config.el b/init/multi-emacs-config.el index 670a00f..4c387b5 100644 --- a/init/multi-emacs-config.el +++ b/init/multi-emacs-config.el @@ -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 diff --git a/spacemacs/init.spacemacs.develop.el b/spacemacs/init.spacemacs.develop.el index ff3843c..fa0678a 100644 --- a/spacemacs/init.spacemacs.develop.el +++ b/spacemacs/init.spacemacs.develop.el @@ -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