Add buffer mode hook to update direnv in cider repl
This commit is contained in:
parent
d6b11259f3
commit
6448d372d1
@ -2616,7 +2616,8 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th
|
||||
:if (executable-find "direnv")
|
||||
:config (direnv-mode)
|
||||
(add-hook 'eshell-mode-hook #'direnv-update-directory-environment)
|
||||
(add-hook 'eshell-directory-change-hook #'direnv-update-directory-environment))
|
||||
(add-hook 'eshell-directory-change-hook #'direnv-update-directory-environment)
|
||||
(add-buffer-mode-hook 'cider-repl-mode (lambda () (direnv-update-directory-environment nrepl-project-dir))))
|
||||
#+END_SRC
|
||||
* SQL
|
||||
Emacs has excellent built-in SQL support.
|
||||
|
Loading…
Reference in New Issue
Block a user