Make sure eshell is loaded before binding its keys

This commit is contained in:
Jeremy Dormitzer 2019-11-14 23:28:20 -05:00
parent a04ddf298d
commit a1c4b96f84

View File

@ -1307,7 +1307,8 @@ A function to properly clear the eshell:
(eshell-emit-prompt)
(insert input)))
(general-def eshell-mode-map "C-c C-o" #'clear-eshell)
(with-eval-after-load 'eshell
(general-def eshell-mode-map "C-c C-o" #'clear-eshell))
#+END_SRC
Some aliases: