Function: eshell-expand-user-reference

eshell-expand-user-reference is a byte-compiled function defined in em-dirs.el.gz.

Signature

(eshell-expand-user-reference FILE)

Documentation

Expand a user reference in FILE to its real directory name.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defun eshell-expand-user-reference (file)
  "Expand a user reference in FILE to its real directory name."
  (replace-regexp-in-string
   (rx bos (group "~" (*? anychar)) (or "/" eos))
   #'expand-file-name file))