Variable: eshell-default-completion-function
eshell-default-completion-function is a customizable variable defined
in em-cmpl.el.gz.
Value
#[0 "\300\301\302\211\211$\205\f\202\207"
[pcomplete--here
#[0 "\302 \"A\303\304\303\305\306#\"\207"
[eshell-cmpl-command-name-function eshell-command-completions-alist assoc nil pcomplete-entries make-closure
#[257 "\302!\206\300\203\303\300\"\205\301?\206\301!\207"
[V0 V1 file-directory-p string-match]
4 "\n\n(fn F)"]]
8]
nil]
5]
Documentation
Function called when no completion rule can be found.
This function is used to generate completions for every argument.
Its value is assigned to pcomplete-default-completion-function locally after eshell starts.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-cmpl.el.gz
(defcustom eshell-default-completion-function
(lambda ()
(while (pcomplete-here
(pcomplete-dirs-or-entries
(cdr (assoc (funcall eshell-cmpl-command-name-function)
eshell-command-completions-alist))))))
(eshell-cmpl--custom-variable-docstring 'pcomplete-default-completion-function)
:type (get 'pcomplete-default-completion-function 'custom-type))