1. 在 ~ 目录下新建 .inputrc 文件

  2. 添加配置

    
    set completion-ignore-case on
    
    
  3. 重新打开 shell 终端即可生效

效果如下:
Linux 按 tab 补全忽略大小写

相关文章: