add straight init code
This commit is contained in:
parent
5aca19f4e4
commit
e5fefab8e4
1 changed files with 17 additions and 0 deletions
17
init.el
17
init.el
|
|
@ -11,4 +11,21 @@
|
|||
|
||||
(load-theme 'wombat)
|
||||
|
||||
(defvar bootstrap-version)
|
||||
(let ((bootstrap-file
|
||||
(expand-file-name
|
||||
"straight/repos/straight.el/bootstrap.el"
|
||||
(or (bound-and-true-p straight-base-dir)
|
||||
user-emacs-directory)))
|
||||
(bootstrap-version 7))
|
||||
(unless (file-exists-p bootstrap-file)
|
||||
(with-current-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||
'silent 'inhibit-cookies)
|
||||
(goto-char (point-max))
|
||||
(eval-print-last-sexp)))
|
||||
(load bootstrap-file nil 'nomessage))
|
||||
|
||||
(straight-use-package 'magit)
|
||||
(straight-use-package 'vertico)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue