forked from abo-abo/oremacs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackages.el
More file actions
85 lines (81 loc) · 1.54 KB
/
packages.el
File metadata and controls
85 lines (81 loc) · 1.54 KB
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
(defconst emacs-d
(file-name-directory
(file-chase-links load-file-name))
"The giant turtle on which the world rests.")
(setq package-user-dir
(expand-file-name "elpa" emacs-d))
(package-initialize)
(setq package-archives
'(("melpa" . "http://melpa.org/packages/")
("gnu" . "http://elpa.gnu.org/packages/")))
(package-refresh-contents)
(defconst ora-packages
'(ace-link
ace-popup-menu
ace-window
alert
auctex
auto-compile
auto-yasnippet
bbdb
elfeed
eglot
evil
cmake-mode
command-log-mode
company
company-jedi
counsel
define-word
dockerfile-mode
docker
docker-tramp
eclipse-theme
find-file-in-project
function-args
geiser
google-c-style
gtk-pomodoro-indicator
headlong
helm-make
hideshowvis
ivy-hydra
j-mode
jedi
lispy
magit
make-it-so
markdown-mode
netherlands-holidays
org-bullets
org-download
powerline
projectile
rainbow-mode
request
rust-mode
slime
smex
swiper
ukrainian-holidays
unicode-fonts
use-package
vimish-fold
wgrep
which-key
worf
yaml-mode)
"List of packages that I like.")
;; install required
(dolist (package ora-packages)
(unless (package-installed-p package)
(ignore-errors
(package-install package))))
;; upgrade installed
(save-window-excursion
(package-list-packages t)
(package-menu-mark-upgrades)
(condition-case nil
(package-menu-execute t)
(error
(package-menu-execute))))