summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 41c66c8..30a8181 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -817,7 +817,7 @@ Also returns nil if pid is nil."
 
 (use-package sh-script
   :defer t
-  :mode (("\\`.zsh\\'" . shell-mode))
+  :mode (("\\.zsh\\'" . shell-script-mode))
   :config (setq sh-shell-file "/usr/bin/env zsh"))
 
 (use-package ntcmd