大多数人在使用 Bash 时,都会对其进行改造,因为默认的设置真的好难用~ 参考以下 ~/.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 "ep": history-search-backward "e[A": history-search-backward "e[B": history-search-forward