Change base-dir for straight.el

main
Sergio Alvariño 1 year ago
parent da61356cd3
commit af08ea7c1c

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

Loading…
Cancel
Save