打开终端,输入:nano .inputrc在里面粘贴上以下语句:set completion-ignore-case onset show-all-if-ambiguous onTAB: menu-completeControl+O,回车保存,OK!
注意:
保存是control 不是 command