Variable: sh-shell

The shell being programmed. This is set by M-x sh-set-shell.