需求场景
在mac中使用tab补全时会自动忽略大小写,而在ubuntu系统默认不会忽略大小写的。
解决方案
在/etc/inputrc
文件中增加配置
# auto complete ignoring case
set show-all-if-ambiguous on
set completion-ignore-case on
在mac中使用tab补全时会自动忽略大小写,而在ubuntu系统默认不会忽略大小写的。
在/etc/inputrc
文件中增加配置
# auto complete ignoring case
set show-all-if-ambiguous on
set completion-ignore-case on