Added the shopt -s checkwinsize command.