2017-06-08 11:47:56 +02:00
|
|
|
;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
|
2017-11-04 22:11:55 +01:00
|
|
|
;;;###if (featurep! :feature evil)
|
2017-02-19 18:53:38 -05:00
|
|
|
|
2017-09-27 14:48:16 +02:00
|
|
|
;;;###autoload (autoload '+eshell:run "tools/eshell/autoload/evil" nil t)
|
|
|
|
(evil-define-command +eshell:run (command bang)
|
2017-06-08 11:47:56 +02:00
|
|
|
;; TODO Add COMMAND support
|
2017-02-19 18:53:38 -05:00
|
|
|
(interactive "<fsh><!>")
|
|
|
|
(if bang
|
2017-09-27 14:48:16 +02:00
|
|
|
(+eshell/open command)
|
|
|
|
(+eshell/open-popup command)))
|
2017-02-19 18:53:38 -05:00
|
|
|
|