diff options
author | Alan Pearce | 2015-05-22 16:49:37 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-22 16:49:37 +0200 |
commit | 72955df98c117aa5d86dbd44ce196d213e56810f (patch) | |
tree | 324016729a481cf2c4e3d196b8cc4f952938224d /tag-emacs/emacs.d | |
parent | e6d7513cc93c24cdcb839384bba3e9714c1e8601 (diff) | |
download | nixfiles-72955df98c117aa5d86dbd44ce196d213e56810f.tar.lz nixfiles-72955df98c117aa5d86dbd44ce196d213e56810f.tar.zst nixfiles-72955df98c117aa5d86dbd44ce196d213e56810f.zip |
Emacs: Open .envrc files with sh-mode
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 92525d83..694e9842 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -768,6 +768,8 @@ mouse-1: Display Line and Column Mode Menu")))))) (add-to-list 'auto-mode-alist '("\\.target\\'" . conf-mode)) (add-to-list 'auto-mode-alist '("\\.socket\\'" . conf-mode)) +(add-to-list 'auto-mode-alist '("\\.envrc\\'" . sh-mode)) + (req-package xrdb-mode :mode (("\\.Xdefaults\\'" . xrdb-mode) ("\\.Xresources\\'" . xrdb-mode))) |