sh-mode-hook

sh-mode-hook is a variable defined in `sh-script.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run after entering Shell-script mode.
No problems result if this variable is not bound.
`add-hook' automatically binds it. (This is true for all hook variables.)

You can customize this variable.