Change base-dir for straight.el

main
Sergio Alvariño 2 years ago
parent da61356cd3
commit af08ea7c1c

@ -15,9 +15,12 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; set up straight package manager
;;
;; set new location for straight.el
(setq straight-base-dir (expand-file-name "~/.cache/emacs/var"))
;;
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(expand-file-name "straight/repos/straight.el/bootstrap.el" straight-base-dir))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer

Loading…
Cancel
Save