This is a quick post.
If you find your BASH shell overwriting/over-wrapping large command-lines, then setting the following in your .bashrc file will take care of it:
shopt -s checkwinsize
This is a quick post.
If you find your BASH shell overwriting/over-wrapping large command-lines, then setting the following in your .bashrc file will take care of it:
shopt -s checkwinsize
Neat.! thx
b/w adding it on /etc/profile wud made it global isnt it ?
Yes, it would. On some systems where there is /etc/bashrc, it can exist in there as well and apply to all users automatically.
Eh. I prefer the good old way of doing this:
eval `resize`