summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-09 13:28:42 +0000
committerAlan Pearce2013-11-09 13:28:42 +0000
commitf9e7890f37abf62885b7990af732e59c981876e6 (patch)
tree74d4552abb38bf7fb2b059fc1cb5f9872c147c3c
parent673536be4358e9db7d683f7a1653470ba3bffe0b (diff)
downloadnixfiles-f9e7890f37abf62885b7990af732e59c981876e6.tar.lz
nixfiles-f9e7890f37abf62885b7990af732e59c981876e6.tar.zst
nixfiles-f9e7890f37abf62885b7990af732e59c981876e6.zip
Emacs: Fix mode specification for .zsh files
-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