Variable: eshell-cmpl-compare-entry-function
eshell-cmpl-compare-entry-function is a customizable variable defined
in em-cmpl.el.gz.
Value
file-newer-than-file-p
Documentation
This function is used to order file entries for completion.
The behavior of most all shells is to sort alphabetically.
Its value is assigned to pcomplete-compare-entry-function locally after eshell starts.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-cmpl.el.gz
(defcustom eshell-cmpl-compare-entry-function #'file-newer-than-file-p
(eshell-cmpl--custom-variable-docstring 'pcomplete-compare-entry-function)
:type (get 'pcomplete-compare-entry-function 'custom-type))