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