diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-04-14 15:12:39 -0400 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-04-14 15:13:52 -0400 |
commit | 18755b3721cdeedad7beb20610d758004b2ce533 (patch) | |
tree | 28fbcdd804fab0bf8f781ec06e05eda05275d417 | |
parent | 4e5edfd137dc33f78ae12d92abcf5ca1575e9a61 (diff) | |
download | emacs.d-18755b3721cdeedad7beb20610d758004b2ce533.tar.gz |
start zsh in shell-script mode
and add to ibuffer shell group
-rw-r--r-- | init/km-general.el | 2 | ||||
-rw-r--r-- | init/km-ibuffer.el | 3 |
2 files changed, 4 insertions, 1 deletions
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) |