From 69e4a985a67c3f443212f42e2b295282131efede Mon Sep 17 00:00:00 2001 From: Joshua Barrett Date: Sat, 7 Feb 2026 21:23:15 -0500 Subject: [PATCH] Use direnv --- etc/custom.el | 42 +++++++++++++++++------------------------- init.el | 6 +++++- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/etc/custom.el b/etc/custom.el index 39faa9a..ccb2325 100644 --- a/etc/custom.el +++ b/etc/custom.el @@ -6,11 +6,17 @@ ;; If there is more than one, they won't work right. '(ansi-color-names-vector ["#002b36" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#839496"]) + '(auth-source-save-behavior nil) '(custom-safe-themes - '("636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561" "51c71bb27bdab69b505d9bf71c99864051b37ac3de531d91fdad1598ad247138" "4ff1c4d05adad3de88da16bd2e857f8374f26f9063b2d77d38d14686e3868d8d" "5d09b4ad5649fea40249dd937eaaa8f8a229db1cec9a1a0ef0de3ccf63523014" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default)) + '("636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561" + "51c71bb27bdab69b505d9bf71c99864051b37ac3de531d91fdad1598ad247138" + "4ff1c4d05adad3de88da16bd2e857f8374f26f9063b2d77d38d14686e3868d8d" + "5d09b4ad5649fea40249dd937eaaa8f8a229db1cec9a1a0ef0de3ccf63523014" + "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default)) '(face-font-family-alternatives '(("Monospace" "courier" "fixed") - ("Monospace Serif" "Courier 10 Pitch" "Consolas" "Courier Std" "FreeMono" "Nimbus Mono L" "courier" "fixed") + ("Monospace Serif" "Courier 10 Pitch" "Consolas" "Courier Std" "FreeMono" + "Nimbus Mono L" "courier" "fixed") ("courier" "CMU Typewriter Text" "fixed") ("Sans Serif" "helv" "helvetica" "arial" "fixed") ("helv" "helvetica" "arial" "fixed"))) @@ -23,15 +29,14 @@ '(js-indent-level 4) '(objed-cursor-color "#dc322f") '(org-format-latex-options - '(:foreground default :background default :scale 1.3 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers + '(:foreground default :background default :scale 1.3 :html-foreground "Black" + :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\["))) '(pdf-view-midnight-colors (cons "#839496" "#002b36")) '(rustic-ansi-faces ["#002b36" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#839496"]) '(safe-local-variable-values - '((c-file-offsets - (arglist-cont-nonempty . 4)) - (indent-tabs-mode nil))) + '((c-file-offsets (arglist-cont-nonempty . 4)) (indent-tabs-mode nil))) '(screenshot-border-width 20) '(screenshot-code-as-image-description-p nil) '(screenshot-font-size 14) @@ -44,25 +49,12 @@ '(screenshot-truncate-lines-p nil) '(vc-annotate-background "#002b36") '(vc-annotate-color-map - (list - (cons 20 "#859900") - (cons 40 "#959300") - (cons 60 "#a58e00") - (cons 80 "#b58900") - (cons 100 "#bc7407") - (cons 120 "#c35f0e") - (cons 140 "#cb4b16") - (cons 160 "#cd4439") - (cons 180 "#d03d5d") - (cons 200 "#d33682") - (cons 220 "#d63466") - (cons 240 "#d9334a") - (cons 260 "#dc322f") - (cons 280 "#ba3f41") - (cons 300 "#994d54") - (cons 320 "#775b67") - (cons 340 "#405A61") - (cons 360 "#405A61"))) + (list (cons 20 "#859900") (cons 40 "#959300") (cons 60 "#a58e00") + (cons 80 "#b58900") (cons 100 "#bc7407") (cons 120 "#c35f0e") + (cons 140 "#cb4b16") (cons 160 "#cd4439") (cons 180 "#d03d5d") + (cons 200 "#d33682") (cons 220 "#d63466") (cons 240 "#d9334a") + (cons 260 "#dc322f") (cons 280 "#ba3f41") (cons 300 "#994d54") + (cons 320 "#775b67") (cons 340 "#405A61") (cons 360 "#405A61"))) '(vc-annotate-very-old-color nil)) (custom-set-faces diff --git a/init.el b/init.el index 257b6b0..4248f9f 100644 --- a/init.el +++ b/init.el @@ -297,11 +297,11 @@ :init (setq auth-sources '("secrets:secdb"))) - (use-package winner :ensure nil :config (winner-mode +1)) + (use-package ediff :ensure nil :defer t @@ -950,6 +950,10 @@ current project." (setq rmh-elfeed-org-files (list (expand-file-name "feeds.org" org-directory)))) +;;; direnv +(use-package direnv + :config (direnv-mode)) + ;;; Language support packages. (use-package rust-mode :mode (("\\.rs\\'" . rust-mode)) -- 2.51.2