;; Initialize the package system first of all. (require 'package) (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/"))) ;; and now we load custom configurations (add-to-list 'load-path (expand-file-name "custom" user-emacs-directory)) (require 'fcuny-vars) ;; where to store the packages (setq package-user-dir fcuny/path-emacs-elpa) ;; initialize it (package-initialize) ;; if use-package is not present, we install it (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (require 'use-package) (require 'fcuny-settings) (require 'fcuny-ui) (require 'fcuny-hygiene) (require 'fcuny-defuns) (require 'fcuny-navigation) (require 'fcuny-edit) (require 'fcuny-text) (require 'fcuny-git) (require 'fcuny-flycheck) (require 'fcuny-org) (require 'fcuny-prog) (require 'fcuny-docker) (require 'fcuny-json) (require 'fcuny-protobuf) (require 'fcuny-puppet) (require 'fcuny-yaml) (require 'fcuny-company) (require 'fcuny-go) (require 'fcuny-lisp) (require 'fcuny-make) (require 'fcuny-python) (require 'fcuny-shell) (require 'fcuny-eshell) (require 'fcuny-elfeed) (require 'fcuny-twitter)