doomemacs/modules/tools/eshell/autoload/evil.el

11 lines
302 B
EmacsLisp
Raw Normal View History

;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
2017-02-20 07:53:38 +08:00
;;;###autoload (autoload '+eshell:run "emacs/eshell/autoload/evil" nil t)
(evil-define-command +eshell:run (_command bang)
;; TODO Add COMMAND support
2017-02-20 07:53:38 +08:00
(interactive "<fsh><!>")
(if bang
(+eshell/run)
(+eshell/open-popup)))
2017-02-20 07:53:38 +08:00