doomemacs/modules/tools/eshell/autoload/evil.el
2017-09-27 14:48:24 +02:00

10 lines
318 B
EmacsLisp

;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
;;;###autoload (autoload '+eshell:run "tools/eshell/autoload/evil" nil t)
(evil-define-command +eshell:run (command bang)
;; TODO Add COMMAND support
(interactive "<fsh><!>")
(if bang
(+eshell/open command)
(+eshell/open-popup command)))