all repos — nixfiles @ eb56977552cce9ade5f215ae78a700e74da67341

System and user configuration, managed by nix and home-manager

Emacs: Ensure .zsh files are opened as shell scripts
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Nov 2013 11:03:45 +0000
commit

eb56977552cce9ade5f215ae78a700e74da67341

parent

7db736a3fa3e2656b8173ce53265d3648bff16b5

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -817,6 +817,7 @@ #'executable-make-buffer-file-executable-if-script-p) 
 (use-package sh-script
   :defer t
+  :mode (("\\`.zsh\\'" . shell-mode))
   :config (setq sh-shell-file "/usr/bin/env zsh"))
 
 (use-package ntcmd