Function: eshell-parse-user-reference
eshell-parse-user-reference is a byte-compiled function defined in
em-dirs.el.gz.
Signature
(eshell-parse-user-reference)
Documentation
An argument beginning with ~ is a filename to be expanded.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defun eshell-parse-user-reference ()
"An argument beginning with ~ is a filename to be expanded."
(when (and (not eshell-current-argument)
(eq (char-after) ?~))
(add-to-list 'eshell-current-modifiers 'expand-file-name)
(forward-char)
(char-to-string (char-before))))