Variable: shell-mode-hook
shell-mode-hook is a customizable variable defined in shell.el.gz.
Value
(tramp-smb-shell-prompt)
Documentation
Hook for customizing Shell mode.
Probably introduced at or before Emacs version 26.2.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-mode-hook '()
"Hook for customizing Shell mode."
:type 'hook
:group 'shell)