Enable smartparens-mode in eshell

So we can have some o'dat autopairing goodness in our shell.
This commit is contained in:
Henrik Lissner 2018-06-29 01:22:06 +02:00
parent a4121f33c0
commit 5a78b8db0c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -76,6 +76,9 @@ You should use `det-eshell-alias!' to change this.")
(add-hook 'eshell-mode-hook #'+eshell|init) (add-hook 'eshell-mode-hook #'+eshell|init)
(add-hook 'eshell-exit-hook #'+eshell|cleanup) (add-hook 'eshell-exit-hook #'+eshell|cleanup)
;; Enable autopairing in eshell
(add-hook 'eshell-mode-hook #'smartparens-mode)
;; UI enhancements ;; UI enhancements
(defun +eshell|replace-fringes-with-margins () (defun +eshell|replace-fringes-with-margins ()
"Remove eshell's fringes and give it a margin of 1." "Remove eshell's fringes and give it a margin of 1."