From a13bf8bbdeef0f2087927d35b2fb77628ca269cd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 17 Jun 2013 17:59:51 +0300 Subject: [PATCH] .bashrc: Add check window size --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) 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