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

11 lines
318 B
EmacsLisp
Raw Normal View History

;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
2017-02-20 07:53:38 +08:00
2017-09-27 20:48:16 +08:00
;;;###autoload (autoload '+eshell:run "tools/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
2017-09-27 20:48:16 +08:00
(+eshell/open command)
(+eshell/open-popup command)))
2017-02-20 07:53:38 +08:00