summaryrefslogtreecommitdiff
path: root/lisp/init-shell.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-07-04 01:35:27 -0400
committerKyle Meyer <kyle@kyleam.com>2014-07-04 01:35:27 -0400
commit98293de9eead498a9145fb2d9ae50e7696af601d (patch)
tree66efbc836199d904f1d5044f7fb0de4a3c0c23d1 /lisp/init-shell.el
parent55b4bba4b4a1847db3ea2b0cce5de98f3bd8e479 (diff)
downloademacs.d-98293de9eead498a9145fb2d9ae50e7696af601d.tar.gz
Change end-of-line maker for auto-mode patterns
Should use "\\'" instead of "$". http://www.emacswiki.org/emacs/AutoModeAlist
Diffstat (limited to 'lisp/init-shell.el')
-rw-r--r--lisp/init-shell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-shell.el b/lisp/init-shell.el
index 6f7e26c..a353526 100644
--- a/lisp/init-shell.el
+++ b/lisp/init-shell.el
@@ -2,7 +2,7 @@
(require-package 'pkgbuild-mode)
-(add-to-list 'auto-mode-alist '("\\.zsh$" . shell-script-mode))
-(add-to-list 'auto-mode-alist '("\\.*rc$" . conf-unix-mode))
+(add-to-list 'auto-mode-alist '("\\.zsh\\'" . shell-script-mode))
+(add-to-list 'auto-mode-alist '("\\.*rc\\'" . conf-unix-mode))
(provide 'init-shell)