Variable: explicit-shell-file-name

explicit-shell-file-name is a customizable variable defined in shell.el.gz.

Value

nil

Documentation

If non-nil, the file name to use for explicitly requested inferior shells.

When nil, such interactive shell sessions fall back to using the shell specified in either the environment variable "ESHELL" or shell-file-name.

View in manual

Probably introduced at or before Emacs version 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom explicit-shell-file-name nil
  "If non-nil, the file name to use for explicitly requested inferior shells.
When nil, such interactive shell sessions fall back to using the
shell specified in either the environment variable \"ESHELL\" or
`shell-file-name'."
  :type '(choice (const :tag "Default" nil) file)
  :group 'shell)