Bash tooltip does not show start of line

Inviting my shell replaces the beginning of long lines with <How can I see long lines on multiple lines?

user@machine :~$ <s line is a very long one and the beggining is not visible... 
+4
source share
1 answer

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 )

+4
source

Source: https://habr.com/ru/post/1382672/


All Articles