diff --git a/.bashrc b/.bashrc index 50be9de..54bc5b9 100644 --- a/.bashrc +++ b/.bashrc @@ -29,3 +29,7 @@ set -o ignoreeof # Append, rather than overwrite history files # Useful for when multiple bash sessions are running shopt -s histappend + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize