How to disable case-sensitivity for filename auto-completion in Emacs 24 shell-mode?

陌路散爱 提交于 2019-12-06 01:55:17

So it turns out that shell-mode in Emacs 24 uses pcomplete by default. pcomplete was always the default for eshell but Emacs 24 has made it so for shell too.

pcomplete-ignore-case controls case sensitivity for pcomplete. I got back case insensitivity for filename autocompletion in shell-mode in Emacs 24 by adding the following to my .emacs file.

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