Variable: shell-file-name

shell-file-name is a customizable variable defined in callproc.c.

Value

"/bin/sh"

Documentation

File name to load inferior shells from.

Initialized from the SHELL environment variable, or to a system-dependent default if SHELL is unset. See Info node (elisp)Security Considerations.

View in manual

Probably introduced at or before Emacs version 27.1.

Source Code

// Defined in /usr/src/emacs/src/callproc.c
  DEFVAR_LISP ("shell-file-name", Vshell_file_name,
	       doc: /* File name to load inferior shells from.
Initialized from the SHELL environment variable, or to a system-dependent
default if SHELL is unset.  See Info node `(elisp)Security Considerations'.  */);