Add sh-mode for .envrc

This commit is contained in:
2026-04-06 13:53:43 -07:00
parent fc4aac14a1
commit b92fb9394f

View File

@@ -2076,6 +2076,7 @@ This is :around advice, so OLDFUN is the real function
:ensure nil
:hook (sh-mode . my/-setup-sh-mode)
:init
(add-to-list 'auto-mode-alist '("/\\.envrc\\'" . sh-mode))
(defun my/-setup-sh-mode ()
(add-hook 'completion-at-point-functions #'cape-file nil t)))