From bc33c1bce454fd29c576123ec9915c42624c5551 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 28 Sep 2015 14:22:26 -0400 Subject: [PATCH] Add module-sh --- init.el | 1 + modules/module-sh.el | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 modules/module-sh.el diff --git a/init.el b/init.el index 0095334f9..e17c8827f 100644 --- a/init.el +++ b/init.el @@ -92,6 +92,7 @@ module-regex ; /^[^\s](meaning)[^\n]*/ module-ruby ; <3 module-sass ; @include magic; + module-sh ; she sells Z-shells by the C shore module-swift ; yay, emoji variables! module-markdown ; markdown ;; module-rust diff --git a/modules/module-sh.el b/modules/module-sh.el new file mode 100644 index 000000000..da161488b --- /dev/null +++ b/modules/module-sh.el @@ -0,0 +1,11 @@ +;;; module-sh.el --- description + +;; [pedantry intensifies] +(after! sh-mode + (defadvice sh-mode (after sh-mode-rename-modeline activate) + (setq mode-name "Sh")) + + (add-hook! sh-mode 'flycheck-mode)) + +(provide 'module-sh) +;;; module-sh.el ends here