It's done through `set -o' instead of `shopt' and these are different
because... umm...
At least zsh gets this right.
if (( ${BASH_VERSINFO[0]} >= 4 )); then shopt -s globstar; fi
shopt -s gnu_errfmt
shopt -s histappend
if (( ${BASH_VERSINFO[0]} >= 4 )); then shopt -s globstar; fi
shopt -s gnu_errfmt
shopt -s histappend
shopt -s histreedit
shopt -u histverify
shopt -s hostcomplete
shopt -s histreedit
shopt -u histverify
shopt -s hostcomplete