|
Written by Bjoern Olausson
|
|
Friday, 09 November 2007 14:56 |
|
Bash line wrap is making you crazy?
When you resize your window, in wich a shell (here bash) is running, and you type a commad which ist that long, that it reaches the end of the line, bash will not wrap the line, no it will just start in the same line again from the beginning so you are writing over your previously written text. Thats hard to read ond not realy funny.
Just add this code in your .bashrc shopt -s checkwinsize
Thats it.
To have alle new users taking atvantage of this little nifty thing, just add it to /etc/skel/.bashrc
|