From 18755b3721cdeedad7beb20610d758004b2ce533 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 14 Apr 2013 15:12:39 -0400 Subject: start zsh in shell-script mode and add to ibuffer shell group --- init/km-general.el | 2 ++ init/km-ibuffer.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init/km-general.el b/init/km-general.el index 2165685..e16e50e 100644 --- a/init/km-general.el +++ b/init/km-general.el @@ -25,6 +25,8 @@ (cons '("\\.md$" . markdown-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\\.markdown$" . markdown-mode) auto-mode-alist)) +(setq auto-mode-alist + (cons '("\\.zsh$" . shell-script-mode) auto-mode-alist)) (setq x-select-enable-clipboard t) (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) diff --git a/init/km-ibuffer.el b/init/km-ibuffer.el index 24e8168..2659e42 100644 --- a/init/km-ibuffer.el +++ b/init/km-ibuffer.el @@ -23,7 +23,8 @@ ("python" (name . ".py$")) ("git" (name . "\*git")) ("text" (name . ".txt")) - ("shell" (name . ".sh$")) + ("shell" (or (name . ".sh$") + (name . ".zsh$"))) ("latex" (or (mode . latex-mode) (mode . LaTeX-mode) (mode . bibtex-mode) -- cgit v1.2.3