diff options
author | Leonardo Santiago <[email protected]> | 2025-05-31 16:03:59 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2025-05-31 16:03:59 -0300 |
commit | 5e6ff689e0dcffbf012b5224219c027b0e109acf (patch) | |
tree | 510501e9ae168e09fca5585cd29beaece66a02b5 /modules/emacs | |
parent | 7902cb15bc962b23d00a8f7d27d5bebc7d34f2ac (diff) |
fix: fix `.envrc`
Diffstat (limited to 'modules/emacs')
-rw-r--r-- | modules/emacs/README.org | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/emacs/README.org b/modules/emacs/README.org index 54c1345..1e41cd4 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -120,7 +120,6 @@ Configuration to automagically open age files, and to encrypt them correctly to (nerd-icons-completion-mode)) (use-package nerd-icons-dired - :hook (dired-mode . nerd-icons-dired-mode) :diminish nerd-icons-dired :custom (dired-listing-switches "-alh")) @@ -130,7 +129,11 @@ Configuration to automagically open age files, and to encrypt them correctly to To integrate with nix shells. #+begin_src emacs-lisp :tangle yes (use-package envrc - :config (envrc-global-mode)) + :config + (envrc-global-mode) + ;; HACK: add emacs' `exec-path` back to `PATH` in order to keep + ;; envrc from deleting special entries added into emacs' `exec-path` on reload + (setenv "PATH" (mapconcat 'identity (cons (getenv "PATH") exec-path) ":"))) #+end_src ** Magit Configurations for magit |