From c7d2a619406c36ebe1c46d907a61f268943e52ee Mon Sep 17 00:00:00 2001 From: larstvei Date: Thu, 4 Jul 2024 17:20:08 +0200 Subject: [PATCH] Make cider and envrc play nice --- init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 28b2488..93ee2a3 100644 --- a/init.org +++ b/init.org @@ -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