Variable: eshell-cmpl-expand-before-complete

eshell-cmpl-expand-before-complete is a customizable variable defined in em-cmpl.el.gz.

Value

nil

Documentation

If non-nil, expand the current argument before completing it.

This means that typing something such as $HOME/bi followed by M-x pcomplete-argument (pcomplete-argument) will cause the variable reference to be resolved first, and the resultant value that will be completed against to be inserted in the buffer. Note that exactly what gets expanded and how is entirely up to the behavior of the pcomplete-parse-arguments-function.

Its value is assigned to pcomplete-expand-before-complete locally after eshell starts.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-cmpl.el.gz
(defcustom eshell-cmpl-expand-before-complete nil
  (eshell-cmpl--custom-variable-docstring 'pcomplete-expand-before-complete)
  :type (get 'pcomplete-expand-before-complete 'custom-type))