From 72955df98c117aa5d86dbd44ce196d213e56810f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 May 2015 16:49:37 +0200 Subject: Emacs: Open .envrc files with sh-mode --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs') 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))) -- cgit 1.4.1