Variable: shell-pushd-tohome

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

Value

nil

Documentation

If non-nil, make pushd with no arg behave as "pushd ~" (like cd).

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-tohome nil
  "If non-nil, make pushd with no arg behave as \"pushd ~\" (like cd).
This mirrors the optional behavior of tcsh."
  :type 'boolean
  :group 'shell-directories)