diff --git a/emacs/.emacs.d/config/init-direnv.el b/emacs/.emacs.d/config/init-direnv.el index 805a61a..6b3f7f7 100644 --- a/emacs/.emacs.d/config/init-direnv.el +++ b/emacs/.emacs.d/config/init-direnv.el @@ -2,6 +2,8 @@ (use-package direnv :if (executable-find "direnv") :defer 2 + :init + (add-to-list 'auto-mode-alist '("\\.env\\'" . shell-script-mode)) :config (direnv-mode) (add-hook 'eshell-mode-hook #'direnv-update-directory-environment)