summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 41c66c8d..30a8181c 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