core: Add choice of distro on install

Ref #2926
This commit is contained in:
justbur 2015-09-11 10:28:30 -04:00 committed by syl20bnr
parent 520fa4bdb8
commit f59cb5b215
1 changed files with 10 additions and 1 deletions

View File

@ -320,7 +320,16 @@ If ARG is non nil then Ask questions to the user before installing the dotfile."
'(("Among the stars aboard the Evil flagship (vim)"
vim)
("On the planet Emacs in the Holy control tower (emacs)"
emacs)))))))))
emacs)))))
("dotspacemacs-distribution 'spacemacs"
,(format
"dotspacemacs-distribution '%S"
(dotspacemacs//ido-completing-read
"What distribution of spacemacs would you like to start with? "
'(("The standard distribution with many goodies built-in (spacemacs)"
spacemacs)
("A distribution with the spacemacs essentials that you can build on (spacemacs-core)"
spacemacs-core)))))))))
(with-current-buffer (find-file-noselect
(concat dotspacemacs-template-directory
".spacemacs.template"))