Make cider and envrc play nice

This commit is contained in:
larstvei 2024-07-04 17:20:08 +02:00
parent bb5a7b1626
commit c7d2a61940

View File

@ -1220,7 +1220,8 @@
:if (executable-find "direnv")
:init
(setq envrc-debug t)
(add-hook 'after-init-hook (lambda () (envrc-global-mode 1))))
(add-hook 'after-init-hook (lambda () (envrc-global-mode 1)))
(advice-add 'cider-jack-in :around #'envrc-propagate-environment))
#+end_src