Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[5.9 BUG] strange partial-word completion with matcher-list



On a Debian/unstable machine with zsh 5.9, I get the strange
following partial-word completion. There is no such issue on
a Debian/stable machine with zsh 5.8.

To reproduce it:

mkdir test-directory
cd test-directory
touch mpfr-impl.h mpfr-intmax.h
autoload -U compinit
compinit
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*'

Then type

  : m-i

and [Tab] to complete on "m-i". I get:

  : mpfr-iN.h

with the cursor over the period. The character "N" is incorrect.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




Messages sorted by: Reverse Date, Date, Thread, Author