Update direnv unconditionally in some cases

This commit is contained in:
Henrik Lissner 2020-05-18 01:38:22 -04:00
parent bbe3cbdaf6
commit d697ff481e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -12,8 +12,8 @@
;;; Packages ;;; Packages
(use-package! direnv (use-package! direnv
:hook (before-hack-local-variables . direnv--maybe-update-environment) :hook (before-hack-local-variables . direnv-update-environment)
:hook (flycheck-before-syntax-check . direnv--maybe-update-environment) :hook (flycheck-before-syntax-check . direnv-update-environment)
:hook (direnv-envrc-mode . +direnv-envrc-fontify-keywords-h) :hook (direnv-envrc-mode . +direnv-envrc-fontify-keywords-h)
:config :config
(add-to-list 'direnv-non-file-modes 'vterm-mode) (add-to-list 'direnv-non-file-modes 'vterm-mode)