about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-shell.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-31T12·45+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-31T12·45+0100
commit3b9656ca4a2c35681d74d8d8e86f7f161e159a84 (patch)
tree434b88315fc04726ba12aff5e951ef5428f64314 /emacs/.emacs.d/wpc/wpc-shell.el
parent7a2ca2b5c0fbcde70833875d63e996cb6bae71e6 (diff)
Use zle-minor-mode in sh-mode
After I wrote zle.el, it seems that I forgot about it. Attempting to revive it
by using it during sh-mode.
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-shell.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-shell.el13
1 files changed, 12 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-shell.el b/emacs/.emacs.d/wpc/wpc-shell.el
index 803a3232ef5b..c132abd681fc 100644
--- a/emacs/.emacs.d/wpc/wpc-shell.el
+++ b/emacs/.emacs.d/wpc/wpc-shell.el
@@ -6,10 +6,21 @@
 
 ;;; Code:
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Dependencies
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(require 'zle)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Code
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
 (use-package flymake-shellcheck
   :commands flymake-shellcheck-load
   :init
-  (add-hook 'sh-mode-hook #'flymake-shellcheck-load))
+  (add-hook 'sh-mode-hook #'flymake-shellcheck-load)
+  (add-hook 'sh-mode-hook #'zle-minor-mode))
 
 (use-package fish-mode)