Load .env files in shell-script-mode
This commit is contained in:
parent
e4037d8c30
commit
5e067c5fbd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user