Making bash work correctly
The Non-Annoying Terminal Mini How-To & Fun with shopt
shopt -s checkwinsize
Makes bash check the window size after every command, so that it never wraps the command line in a completely messed up manner.
Makes you wonder why there isn’t a ‘just act sanely’ option somewhere, but I’m sure that this was originally a backwards compatibility thing.
No comments