summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.org')
-rw-r--r--tag-emacs/emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index c803895d..cd58c176 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1988,7 +1988,9 @@ Make a shell-script buffer executable after saving it, if it has a shebang.
         #'executable-make-buffer-file-executable-if-script-p)
 
   (use-package sh-script
-    :mode (("\\.zsh\\'" . shell-script-mode))
+    :mode (("\\.zsh\\'" . shell-script-mode)
+           ("zshenv\\'" . shell-script-mode)
+           ("zshrc\\'"  . shell-script-mode))
     :config (setq sh-shell-file "/usr/bin/env zsh"
                   sh-indentation 2
                   sh-basic-offset 2))