aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-sh.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-sh.el b/oni-sh.el
index be2b2a3..3d2623f 100644
--- a/oni-sh.el
+++ b/oni-sh.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0715.215613
+;; Version: 2025.0624.144537
;; Package-Requires: (reformatter oni-flycheck oni-smartparens)
;; This program is free software; you can redistribute it and/or modify
@@ -55,6 +55,8 @@
;;;###autoload
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . sh-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist `(,(rx "/.env" (optional (or ".dev" ".development" ".testing" ".production" ".example")) eos) . sh-mode))
(provide 'oni-sh)
;;; oni-sh.el ends here