~ruther/emacs.d

c206a3ac5f882fe9059f7a7e404435a73703c650 — Rutherther 1 year, 1 month ago 8865b30
feat: no littering
3 files changed, 14 insertions(+), 1 deletions(-)

M .gitignore
M early-init.el
M init.el
M .gitignore => .gitignore +2 -1
@@ 1,2 1,3 @@
straight
init.el~
early-init.el~
stateful
\ No newline at end of file

M early-init.el => early-init.el +5 -0
@@ 1,3 1,8 @@
(when (fboundp 'startup-redirect-eln-cache)
  (startup-redirect-eln-cache
   (convert-standard-filename
    (expand-file-name  "stateful/eln-cache/" user-emacs-directory))))

(setq package-enable-at-startup nil)

;; Visual stuff init

M init.el => init.el +7 -0
@@ 15,6 15,13 @@
(require 'functions)
(require 'elpaca-loader)

(my-use-package no-littering
  :ensure (:wait t)
  :init
  (setq no-littering-etc-directory (expand-file-name "stateful/config" user-emacs-directory))
  (setq no-littering-var-directory (expand-file-name "stateful/data" user-emacs-directory))
  :config
  (setq savehist-file (expand-file-name "savehist.el" no-littering-var-directory)))

;; some visual configs
(my-use-package nordic-night-theme