tools/eshell: fix +eshell:run

This commit is contained in:
Henrik Lissner 2017-09-27 14:48:16 +02:00
parent 838615eb0c
commit e04bdc70d7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,10 +1,10 @@
;;; tools/eshell/autoload/evil.el -*- lexical-binding: t; -*-
;;;###autoload (autoload '+eshell:run "emacs/eshell/autoload/evil" nil t)
(evil-define-command +eshell:run (_command bang)
;;;###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/run)
(+eshell/open-popup)))
(+eshell/open command)
(+eshell/open-popup command)))