purcell/envrc@7f36664fc6 -> purcell/envrc@1954e8c0b5
Upstream introduced a new envrc-direnv-executable variable, which we'll
now use.
* modules/tools/direnv/config.el (+direnv--fail-gracefully-a): use new
envrc-direnv-executable, and abort envrc-global-mode once, at startup,
rather than every time envrc-mode is activated.
Close: #7046
wbolster/emacs-direnv uses an approach that mutates global state,
allowing a direnv to bleed into unrelated buffers and contexts. For this
to work it must rereads the direnv every time you switch buffers, which
can be very slow.
purcell/envrc, on the other hand, makes env state buffer-local, so the
direnv only needs to be read once, when a is first initialized. This is
faster and less error prone. However, it's necessary to manually reload
the direnv if you've changed your .envrc outside of Emacs (with `M-x
envrc-reload` or `M-x envrc-reload-all`).