Synopsis:

set confirm [on|off]

Set whether to confirm potentially dangerous operations.

Note that some commands like quit and kill have a ! suffix which turns the confirmation off in that specific instance.

See also:

show confirm