Function: eshell-plain-command
eshell-plain-command is a byte-compiled function defined in
esh-cmd.el.gz.
Signature
(eshell-plain-command COMMAND ARGS)
Documentation
Insert output from a plain COMMAND, using ARGS.
COMMAND may result in either a Lisp function being executed by name, or an external command.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell-plain-command (command args)
"Insert output from a plain COMMAND, using ARGS.
COMMAND may result in either a Lisp function being executed by name,
or an external command."
(if-let* ((sym (eshell--find-plain-lisp-command command)))
(eshell-lisp-command sym args)
(eshell-external-command command args)))