我的 shell 提示将长行的开头替换为 <
如何让长线在多条线上可见?
user@machine:~$
<s line is a very long one and the beggining is not visible...
最佳答案
检查你的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.
该文件的位置由 INPUTRC
变量控制:
INPUTRC
The filename for the readline startup file, overriding the default of ~/.inputrc (see READLINE below).
(均引自 man bash
)
关于linux - bash 提示不显示行首,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8240232/