Ubuntu中bash自动补全忽略大小写
发布时间:2020-09-25 11:28:48 所属栏目:Ubuntu 来源:互联网
导读:Ubuntu中bash自动补全忽略大小写 大多数人在使用 Bash 时,都会对其进行改造,因为默认的设置真的好难用~ 编辑 ~/.inputrc 文件设置 (实测Ubuntu14是 /etc/.inputrc 文件) 文件末尾添加如下代码: # do not show hidden files in the list set match-hidden-f
Ubuntu中bash自动补全忽略大小写
大多数人在使用 Bash 时,都会对其进行改造,因为默认的设置真的好难用~ 编辑 ~/.inputrc 文件设置 (实测Ubuntu14是 /etc/.inputrc 文件) 文件末尾添加如下代码: # do not show hidden files in the list set match-hidden-files off # auto complete ignoring case set show-all-if-ambiguous on set completion-ignore-case on "e[A": history-search-backward "e[B": history-search-forward 解释: show-all-if-ambiguous :默认情况下,按下两次 <tab> 才会出现提示,现在只需要一次了。
更多 Bash 定制请参考: https://wiki.ubuntu.com/Spec/EnhancedBash (编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |