diff options
author | Alan Pearce | 2016-10-31 10:57:06 +0100 |
---|---|---|
committer | Alan Pearce | 2016-10-31 10:57:06 +0100 |
commit | e6df5c84a11e58733ddc32393e144cb60787ab05 (patch) | |
tree | 7310783d34e6a43d846176361fc06508d2efcc56 /tag-emacs | |
parent | 606968a957b29edaf37b1dc9dd4bc4aadd951b93 (diff) | |
download | nixfiles-e6df5c84a11e58733ddc32393e144cb60787ab05.tar.lz nixfiles-e6df5c84a11e58733ddc32393e144cb60787ab05.tar.zst nixfiles-e6df5c84a11e58733ddc32393e144cb60787ab05.zip |
Emacs: Open zshrc/zshenv in shell-script-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index c803895d..cd58c176 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1988,7 +1988,9 @@ Make a shell-script buffer executable after saving it, if it has a shebang. #'executable-make-buffer-file-executable-if-script-p) (use-package sh-script - :mode (("\\.zsh\\'" . shell-script-mode)) + :mode (("\\.zsh\\'" . shell-script-mode) + ("zshenv\\'" . shell-script-mode) + ("zshrc\\'" . shell-script-mode)) :config (setq sh-shell-file "/usr/bin/env zsh" sh-indentation 2 sh-basic-offset 2)) |