[英]bash prompt does not show the beginning of the line
My shell prompt replace the beginning of long lines with < 我的shell提示用<替换长行的开头
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...
Check your inputrc
检查你的inputrc
horizontal-scroll-mode
(Off)horizontal-scroll-mode
(关闭)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. 当设置为On时,使readline使用单行进行显示,当输入长度超过屏幕宽度而不是换行到新行时,在单个屏幕行上水平滚动输入。
The location of that file is governed by the INPUTRC
variable: 该文件的位置由INPUTRC
变量控制:
INPUTRC
The filename for the readline startup file, overriding the default of ~/.inputrc (see READLINE below). readline启动文件的文件名,覆盖默认的〜/ .inputrc(参见下面的READLINE)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.