Variable: shell-pushd-dunique

shell-pushd-dunique is a customizable variable defined in shell.el.gz.

Value

nil

Documentation

If non-nil, make pushd only add unique directories to the stack.

This mirrors the optional behavior of tcsh.

View in manual

Probably introduced at or before Emacs version 19.23.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-pushd-dunique nil
  "If non-nil, make pushd only add unique directories to the stack.
This mirrors the optional behavior of tcsh."
  :type 'boolean
  :group 'shell-directories)