Variable: sh-shell
sh-shell is a variable defined in sh-script.el.gz.
Value
sh
Documentation
The shell being programmed. This is set by M-x sh-set-shell (sh-set-shell).
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defvar sh-shell (sh-canonicalize-shell sh-shell-file)
"The shell being programmed. This is set by \\[sh-set-shell].")