summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-general.el2
-rw-r--r--init/km-ibuffer.el3
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)