From 3d3c04eb5f456d48eb1d6c823df30de2151e7941 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 5 Apr 2021 10:45:54 -0400 Subject: [PATCH] Use shell-script-mode for .env.local files --- emacs/.emacs.d/config/init-direnv.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/config/init-direnv.el b/emacs/.emacs.d/config/init-direnv.el index 29ea97e..0aff777 100644 --- a/emacs/.emacs.d/config/init-direnv.el +++ b/emacs/.emacs.d/config/init-direnv.el @@ -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)