summary refs log tree commit diff
path: root/emacs.d/config/config-package.el
blob: 1b7c6f0df6d940f996994a0d628649b097f9c2a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; where to store the packages
(setq package-user-dir fcuny-path-emacs-elpa)

(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)

;; initialize it
(package-initialize)

;; paradox is a better interface
(when (not (package-installed-p 'paradox))
  (package-install 'paradox))

(setq paradox-github-token t)

(paradox-require 'use-package)

(require 'use-package)

(setq use-package-always-ensure t)

(provide 'config-package)