Answer the question
In order to leave comments, you need to log in
How to configure case-insensitive padding for cyrillic filenames in zsh?
It is not possible to make the addition of Russian-language file and directory names case-insensitive. There are no problems with English. Google found the following options:
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[._-]=** r:|=**'
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
ls са
and press Tab, the "Templates" padding is suggested, while padding Са
correctly to "Sanitary". If you write сан
, then it unfolds correctly in the "Orders". This does not match the behavior with English-language names, nor the behavior when completing names with initial matching case.
Answer the question
In order to leave comments, you need to log in
Maybe ride?
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]а-яА-Я}={[:upper:][:lower:]А-Яа-я}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
You don't have a case-sensitive issue when looking for a match. At you all vernododno is filled on "san". Matching "Templates" may be due to the approximate or correct options. zsh thinks you made a mistake and wanted to type "sha". Maybe there is an opportunity to somehow change the priority of add-on modules. For example, so that the register check would work first, and only then the correction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question