Use shell-script-mode for .env.local files

This commit is contained in:
Jeremy Dormitzer 2021-04-05 10:45:54 -04:00
parent 05f144b85e
commit 3d3c04eb5f

View File

@ -4,6 +4,7 @@
:defer 2
:init
(add-to-list 'auto-mode-alist '("\\.env\\'" . shell-script-mode))
(add-to-list 'auto-mode-alist '("\\.env.local\\'" . shell-script-mode))
:config
(direnv-mode)
(add-hook 'eshell-mode-hook #'direnv-update-directory-environment)