Open oddlama opened 1 year ago
This seems to be a bug of upstream.
Pretend code
zle -C all-matches complete-word _generic
bindkey '^Xa' all-matches
zstyle ':completion:all-matches:*' old-matches only
zstyle ':completion:all-matches::::' completer _all_matches
disable-fzf-tab
mkdir a b c
: <Press tab and then C-x a> 0123456
and result is : a b0 c1 d/23456
It there any way to see if this issue is known upstream? I cannot find a search function in their mailing list archive :/
Description & Steps to Reproduce
I sometimes try to insert new options before existing tokens such as files that i already wrote:
If you select a single entry in this szenario, everything is fine and the result is
But as soon as you select multiple entries, the result messes up the spacing like this:
Expected behavior
When using multiple selections a space should always be appended after each selected argument, but it seems like a space is prepended for some reason.
I can make sure:
compinit
Environment:
Minimal zshrc
An otherwise empty zshrc with just compinit and the fzf plugin already shows this behavior.