all repos — nixfiles @ f9e7890f37abf62885b7990af732e59c981876e6

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

Emacs: Fix mode specification for .zsh files
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Nov 2013 13:28:42 +0000
commit

f9e7890f37abf62885b7990af732e59c981876e6

parent

673536be4358e9db7d683f7a1653470ba3bffe0b

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

jump to
M emacs/init.elemacs/init.el
@@ -817,7 +817,7 @@ #'executable-make-buffer-file-executable-if-script-p) 
 (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