Run direnv when EShell changes directories

This commit is contained in:
Jeremy Dormitzer 2019-02-05 17:46:19 -05:00
parent c6f18655e4
commit df1a953846

View File

@ -2387,4 +2387,5 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package direnv (use-package direnv
:config (direnv-mode)) :config (direnv-mode))
(add-hook 'eshell-directory-change-hook #'direnv-update-directory-environment)
#+END_SRC #+END_SRC