Luc
Luc

Reputation: 17072

bash prompt does not show the beginning of the line

My shell prompt replace the beginning of long lines with <
How can I have the long lines visible on several lines ?

user@machine:~$
<s line is a very long one and the beggining is not visible...

Upvotes: 4

Views: 330

Answers (1)

sehe
sehe

Reputation: 392999

Check your inputrc

horizontal-scroll-mode (Off)

When set to On, makes readline use a single line for display, scrolling the input horizontally on a single screen line when it becomes longer than the screen width rather than wrapping to a new line.

The location of that file is governed by the INPUTRC variable:

INPUTRC

The filename for the readline startup file, overriding the default of ~/.inputrc (see READLINE below).

(both quotes from man bash)

Upvotes: 4

Related Questions