Variable: shell-dirstack
shell-dirstack is a variable defined in shell.el.gz.
Value
nil
Documentation
List of directories saved by pushd in this buffer's shell.
Thus, this does not include the shell's current directory.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defvar shell-dirstack nil
"List of directories saved by pushd in this buffer's shell.
Thus, this does not include the shell's current directory.")