Closed ItzYeho closed 1 week ago
Just set zstyle ':completion:*' menu no
Nope, this does not fix it. This only makes it worse by making it unable to select a non-fzf completion if this bug does occur.
Oh, I didn't read the code carefully. You use many custom completers, which may cause bug (eg. https://github.com/Aloxaf/fzf-tab/issues/56).
I tested your configuration and removing _oldlist
can fix it.
That works! But I don't think it's an ideal solution. Ideally fzf-tab should work in all of the default completers offered by zsh. As I've mentioned in the issue, lincheney's solution does indeed manage to hook the _oldlist request.
Describe the bug
When trying to complete entries that have the same starting substring, fzf completion will not be triggered, and thus only a regular zsh menu completion is possible. This is unlike lincheney's solution which works flawlessly, but lacks features that I need.
I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
cat
and press TabExpected behavior
FZF is opened and I am able to complete what I want.
Screenshots
How it should be:
Environment:
Minimal zshrc
Log
Aloxaf/fzf-tab
lincheney/fzf-tab-completion
fzf builtin completion