shopt -u compat31
shopt -u compat32
shopt -u compat40
+shopt -u compat41
shopt -u dirspell
shopt -u dotglob
shopt -u execfail
shopt -s hostcomplete
shopt -u huponexit
shopt -s interactive_comments
+shopt -u lastpipe
shopt -u lithist
shopt -u login_shell
shopt -u mailwarn
shopt -u compat31
shopt -u compat32
shopt -u compat40
+shopt -u compat41
shopt -u dirspell
shopt -u dotglob
shopt -u execfail
shopt -u histreedit
shopt -u histverify
shopt -u huponexit
+shopt -u lastpipe
shopt -u lithist
shopt -u login_shell
shopt -u mailwarn
compat31 off
compat32 off
compat40 off
+compat41 off
dirspell off
dotglob off
execfail off
histreedit off
histverify off
huponexit off
+lastpipe off
lithist off
login_shell off
mailwarn off