learning about shopt (shell options)

hoping i don't break anything