Function: eshell-dirs-substitute-cd

eshell-dirs-substitute-cd is a byte-compiled function defined in em-dirs.el.gz.

Signature

(eshell-dirs-substitute-cd &rest ARGS)

Documentation

Substitute the given command for a call to cd on that name.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defun eshell-dirs-substitute-cd (&rest args)
  "Substitute the given command for a call to `cd' on that name."
  (if (> (length args) 1)
      (error "%s: command not found" (car args))
    (throw 'eshell-replace-command
	   (eshell-parse-command "cd" (flatten-tree args)))))