echo $- himBH
By default, the active flags in the set-builtin are: himBH Executing help set doesn't show an explanation for the i-flag.
himBH
help set
What is behind the i-flag, the i-option respectively?
From man bash:
man bash
-i If the -i option is present, the shell is interactive.