Add shopt -s checkwinsize