Signal an error if the shell type for this buffer is not supported. Also, the buffer must be in Shell-script mode.