-
Notifications
You must be signed in to change notification settings - Fork 5
/
auto-install-packages.el
100 lines (97 loc) · 1.43 KB
/
auto-install-packages.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
(require 'cl-lib)
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(setq package-enable-at-startup nil)
(package-initialize)
(setq dotfiles-packages-list
'(
ac-js2
ac-slime
ace-jump-mode
ack-and-a-half
async
auctex
auto-complete
calfw
company
concurrent
ctable
deferred
dired+
direx
discover
enh-ruby-mode
epc
flymake-css
flymake-easy
flymake-haml
flymake-python-pyflakes
flymake-shell
gh
git-commit-mode
git-rebase-mode
google-translate
goto-chg
haml-mode
helm
helm-ack
helm-dash
helm-swoop
highlight-symbol
hlinum
ht
htmlize
hungry-delete
jedi
jedi-direx
js-comint
js2-mode
json-mode
json-reformat
json-snatcher
log4e
logito
magit
makey
markdown-mode
mediawiki
mmm-mode
multiple-cursors
nodejs-repl
org
ox-html5slide
pangu-spacing
pcache
pcre2el
popup
python-environment
python-info
qml-mode
rainbow-delimiters
rainbow-mode
simple-httpd
skewer-mode
slime
slime-company
smart-operator
stylus-mode
swoop
sws-mode
twittering-mode
undo-tree
visual-regexp
visual-regexp-steroids
web-beautify
web-mode
yaml-mode
yasnippet
yaxception
))
(defun dotfiles-auto-install-packages ()
(package-refresh-contents)
(mapc #'(lambda (package)
(unless (package-installed-p package)
(package-install package)))
dotfiles-packages-list)
(save-buffers-kill-emacs))
(dotfiles-auto-install-packages)