Skip to content

Instantly share code, notes, and snippets.

@ashton314
Created April 4, 2021 18:32
Show Gist options
  • Save ashton314/f62a2f862b95c9eb5be688b72d900372 to your computer and use it in GitHub Desktop.
Save ashton314/f62a2f862b95c9eb5be688b72d900372 to your computer and use it in GitHub Desktop.
Minimal package manager set up
(defvar bootstrap-version)
(setq straight-repository-branch "develop")
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
;; Theme
(use-package nord-theme
:config
(load-theme 'nord t))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment