Variable: shell-pushd-dextract
shell-pushd-dextract is a customizable variable defined in
shell.el.gz.
Value
nil
Documentation
If non-nil, make "pushd +n" pop the nth dir to the stack top.
This mirrors the optional behavior of tcsh.
Probably introduced at or before Emacs version 19.23.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-pushd-dextract nil
"If non-nil, make \"pushd +n\" pop the nth dir to the stack top.
This mirrors the optional behavior of tcsh."
:type 'boolean
:group 'shell-directories)