Resizing bash

Finally found that bloody option again for making bash not fuck up when the terminal is resized...


There is a 'checkwinsize' option, settable with the 'shopt' builtin, that will cause bash to check the window size and adjust its idea of the terminal's dimensions each time a process stops or exits and returns control of the terminal to bash. Enable it with 'shopt -s checkwinsize'.

Whew. Now let's not forget this option ever again.