summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/init.el14
1 files changed, 2 insertions, 12 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b1a6de6..4b66932 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -16,23 +16,13 @@
 (setq gc-cons-threshold 64000000)
 
 ;; configure straight to manage packages
-(defvar bootstrap-version)
-(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))
 
 (add-to-list 'load-path (expand-file-name "custom/" user-emacs-directory))
 (add-to-list 'load-path (expand-file-name "elisp/" user-emacs-directory))
 
+;; run package installation
 (require 'my-packages)
+(my/install-packages)
 
 (require 'envrc)
 (envrc-global-mode)