From 6e9307d61647467d95becc80e0c8aa29a3559c46 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 9 May 2024 02:31:34 +0100 Subject: [PATCH] feat(editor/env): switch from direnv package to envrc and mise envrc.el should be less invasive overall, and mise does the same thing, but for mise instead of direnv. --- core/siren-core-modules.el | 3 ++- modules/editor/siren-envrc.el | 13 +++++++++++++ modules/editor/siren-mise.el | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 modules/editor/siren-envrc.el create mode 100644 modules/editor/siren-mise.el diff --git a/core/siren-core-modules.el b/core/siren-core-modules.el index ba06797..aa407ff 100644 --- a/core/siren-core-modules.el +++ b/core/siren-core-modules.el @@ -34,12 +34,13 @@ (require 'siren-helpful) ;; Editor -(require 'siren-direnv) +(require 'siren-envrc) (require 'siren-display-fill-column) (require 'siren-display-indentation) (require 'siren-display-line-numbers) (require 'siren-embark) (require 'siren-minions) +(require 'siren-mise) (require 'siren-mwim) (require 'siren-origami) (require 'siren-rainbow) diff --git a/modules/editor/siren-envrc.el b/modules/editor/siren-envrc.el new file mode 100644 index 0000000..2ada2a1 --- /dev/null +++ b/modules/editor/siren-envrc.el @@ -0,0 +1,13 @@ +;;; siren-envrc.el --- jimeh's Emacs Siren: envrc configuration. + +;;; Commentary: + +;; Basic configuration for envrc. + +;;; Code: + +(use-package envrc + :hook (after-init . envrc-global-mode)) + +(provide 'siren-envrc) +;;; siren-envrc.el ends here diff --git a/modules/editor/siren-mise.el b/modules/editor/siren-mise.el new file mode 100644 index 0000000..a8a8ca5 --- /dev/null +++ b/modules/editor/siren-mise.el @@ -0,0 +1,14 @@ +;;; siren-mise.el --- jimeh's Emacs Siren: mise configuration. + +;;; Commentary: + +;; Basic configuration for mise. + +;;; Code: + +(use-package mise + :hook + (after-init . global-mise-mode)) + +(provide 'siren-mise) +;;; siren-mise.el ends here