Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
tools/direnv
Description
This module integrates direnv into Emacs.
direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh, fish shell and elvish to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the ~/.profile file.
Before each prompt, direnv checks for the existence of a ".envrc" file in the current and parent directories. If the file exists (and is authorized), it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to the current shell.
Module Flags
This module provides no flags.
Plugins
Hacks
- Normally, the direnv environment is updated on
post-command-hook
. We've changed it to update ondoom-switch-buffer-hook
,doom-switch-window-hook
anddoom-switch-frame-hook
instead. - Special direnv keywords/commands are highlighted in direnv-envrc-mode.
- A fix has been applied to ensure flycheck searches for executables from within the direnv environment, if any.
Prerequisites
This module requires the direnv
utility.
MacOS
brew install direnv
Arch Linux
sudo pacman -S direnv
NixOS
environment.systemPackages = [ pkgs.direnv ];
Or nix-env -i direnv
Troubleshooting
direnv + nix is slow
Consider augmenting direnv with lorri, which will cache nix builds and speed up direnv tremendously:
services.lorri.enable = true;