Have zsh return case-insensitive auto-complete matches, but prefer exact matches

后端 未结 2 742
傲寒
傲寒 2021-02-05 00:37

I am using zsh with oh-my-zsh\'s rc file and there is some behavior I find particularly annoying. By default, oh-my-zsh is configured to return case-insensitive matches when aut

2条回答
  •  情话喂你
    2021-02-05 01:11

    Just uncomment the following line in ~/.zshrc:

    # Uncomment the following line to use case-sensitive completion.
    # CASE_SENSITIVE="true"
    

    It worked for me

提交回复
热议问题