summary refs log tree commit diff
path: root/emacs.d/config/config-package.el
blob: 5389c0ccaa23bad43e99fcc5848c33dbe2e122f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(require 'config-env)

;; 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))

(paradox-require 'use-package)

(require 'use-package)

(setq use-package-always-ensure t)

(provide 'config-package)