Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[5.9 BUG] strange partial-word completion with matcher-list
- X-seq: zsh-workers 50382
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [5.9 BUG] strange partial-word completion with matcher-list
- Date: Thu, 23 Jun 2022 15:27:17 +0200
- Archived-at: <https://zsh.org/workers/50382>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
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