Variable: eshell-pwd-convert-function

eshell-pwd-convert-function is a customizable variable defined in em-dirs.el.gz.

Value

identity

Documentation

The function used to normalize the value of Eshell's pwd.

The value returned by pwd is also used when recording the last-visited directory in the last-dir-ring, so it will affect the form of the list used by cd =.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defcustom eshell-pwd-convert-function (if (eshell-under-windows-p)
					   #'expand-file-name
					 #'identity)
  "The function used to normalize the value of Eshell's `pwd'.
The value returned by `pwd' is also used when recording the
last-visited directory in the last-dir-ring, so it will affect the
form of the list used by `cd ='."
  :type '(radio (function-item file-truename)
		(function-item expand-file-name)
		(function-item identity)
		(function :tag "Other")))