summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-09 11:03:45 +0000
committerAlan Pearce2013-11-09 11:03:45 +0000
commiteb56977552cce9ade5f215ae78a700e74da67341 (patch)
treecbf37193491bd97f7a4af2141b99b36d4bc6ec15
parent7db736a3fa3e2656b8173ce53265d3648bff16b5 (diff)
downloadnixfiles-eb56977552cce9ade5f215ae78a700e74da67341.tar.lz
nixfiles-eb56977552cce9ade5f215ae78a700e74da67341.tar.zst
nixfiles-eb56977552cce9ade5f215ae78a700e74da67341.zip
Emacs: Ensure .zsh files are opened as shell scripts
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 7912f7a2..41c66c8d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -817,6 +817,7 @@ Also returns nil if pid is nil."
 
 (use-package sh-script
   :defer t
+  :mode (("\\`.zsh\\'" . shell-mode))
   :config (setq sh-shell-file "/usr/bin/env zsh"))
 
 (use-package ntcmd