Variable: eshell-complex-commands
eshell-complex-commands is a customizable variable defined in
esh-cmd.el.gz.
Value
("ls")
Documentation
A list of commands names or functions, that determine complexity.
That is, if a command is defined by a function named eshell/NAME, and NAME is part of this list, it is invoked as a complex command. Complex commands are always correct, but run much slower. If a command works fine without being part of this list, then it doesn't need to be.
If an entry is a function, it will be called with the name, and should return non-nil if the command is complex.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defcustom eshell-complex-commands '("ls")
"A list of commands names or functions, that determine complexity.
That is, if a command is defined by a function named eshell/NAME,
and NAME is part of this list, it is invoked as a complex command.
Complex commands are always correct, but run much slower. If a
command works fine without being part of this list, then it doesn't
need to be.
If an entry is a function, it will be called with the name, and should
return non-nil if the command is complex."
:type '(repeat :tag "Commands"
(choice (string :tag "Name")
(function :tag "Predicate"))))