doomemacs/modules/tools/direnv/packages.el
Henrik Lissner 06c404ecb1
tools/direnv: replace direnv package with envrc
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`).
2020-08-21 04:45:04 -04:00

4 lines
126 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; tools/direnv/packages.el
(package! envrc :pin "1dc5aad14d2c27211c7c288d2d9dffeb2e27cb2d")