From 5a78b8db0cd64b4a2b1252cd938c9eedf7c73713 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 29 Jun 2018 01:22:06 +0200 Subject: [PATCH] Enable smartparens-mode in eshell So we can have some o'dat autopairing goodness in our shell. --- modules/emacs/eshell/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/emacs/eshell/config.el b/modules/emacs/eshell/config.el index 22e2d9928..b6a9df343 100644 --- a/modules/emacs/eshell/config.el +++ b/modules/emacs/eshell/config.el @@ -76,6 +76,9 @@ You should use `det-eshell-alias!' to change this.") (add-hook 'eshell-mode-hook #'+eshell|init) (add-hook 'eshell-exit-hook #'+eshell|cleanup) + ;; Enable autopairing in eshell + (add-hook 'eshell-mode-hook #'smartparens-mode) + ;; UI enhancements (defun +eshell|replace-fringes-with-margins () "Remove eshell's fringes and give it a margin of 1."