加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – bash提示符不显示该行的开头

发布时间:2020-12-13 23:02:18 所属栏目:Linux 来源:网络整理
导读:我的 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
我的 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)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读