mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Make cider and envrc play nice
This commit is contained in:
parent
bb5a7b1626
commit
c7d2a61940
3
init.org
3
init.org
@ -1220,7 +1220,8 @@
|
|||||||
:if (executable-find "direnv")
|
:if (executable-find "direnv")
|
||||||
:init
|
:init
|
||||||
(setq envrc-debug t)
|
(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
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user