all repos — nixfiles @ 72955df98c117aa5d86dbd44ce196d213e56810f

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

Emacs: Open .envrc files with sh-mode
Alan Pearce alan.pearce@spotcap.com
Fri, 22 May 2015 16:49:37 +0200
commit

72955df98c117aa5d86dbd44ce196d213e56810f

parent

e6d7513cc93c24cdcb839384bba3e9714c1e8601

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -768,6 +768,8 @@ (add-to-list 'auto-mode-alist '("\\.service\\'" . conf-mode)) (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)))