Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ubuntu 的终端使用区分大小写的自动完成,正如我认为 Linux 所期望的那样。
但我认为使用不区分大小写的名称通常会更方便,以免在开始名称时必须准确,并且可能值得额外的误报。是否有可能改变这种行为?
您可以将此readline设置放入您的~/.bashrc:
readline
~/.bashrc
bind 'set completion-ignore-case on'
您需要重新启动终端资源~/.bashrc。(或source ~/.bashrc手动运行)
source ~/.bashrc