How to deactivate uppercase check in cygwin folder autocompletion?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 12:56:49

问题


When navigating a file hierarchy under Cygwin, pressing tab after cd + a few characters will replace those few characters by the name of a directory whose name starts by the same characters, if such a directory is present in the current folder. However, the test seems to be case-sensitive. How to deactivate the case-sensitivity ?


回答1:


Try:

 set completion-ignore-case On

(This is for bash, which I'm pretty sure cygwin uses.)

EDIT: This change will only take effect for the duration of your current shell session. To make it permanent, you need to add that line to your ~/.inputrc file.



来源:https://stackoverflow.com/questions/10201900/how-to-deactivate-uppercase-check-in-cygwin-folder-autocompletion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!