Check inputrc
horizontal-scroll-mode
(Off)
When set to βOn,β a single line is used to read the readline to display, scrolling horizontally on the same line of the screen as it becomes longer than the width of the screen, rather than wrapping it in a new line.
The location of this file is determined by the variable inputrc
:
inputrc
The file name for the readline startup file, overriding the default value ~ / .inputrc (see the READLINE link below).
(both quotes from man bash
)
source share