Closed xfzv closed 1 year ago
This is not a bug. Setting context when doing completion is just a convention, not a rule.
You can disable preview for these tools individually.
zstyle ':fzf-tab:complete:chezmoi:*' fzf-preview
zstyle ':fzf-tab:complete:kitty:*' fzf-preview
This is not a bug. Setting context when doing completion is just a convention, not a rule.
You can disable preview for these tools individually.
Thank you,
zstyle ':fzf-tab:complete:chezmoi:*' fzf-preview
zstyle ':fzf-tab:complete:kitty:*' fzf-preview
works fine.
Describe the bug
Despite using
, the preview window is still displayed for some commands options and arguments such as
chezmoi
orkitty
:chezmoi <TAB>
orchezmoi -- <TAB>
kitty -- <TAB>
No issue with most binaries installed from the official Arch repositories, here
lsd -- <TAB>
for example:I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
bat
orlsd
;chezmoi
orkitty
from official Arch repositorieslsd --
orbat --
and press<TAB>
-> the preview window isn't drawnchezmoi
orkitty --
and press<TAB>
-> the preview window is drawnExpected behavior
The preview window shouldn't be drawn for
chezmoi
andkitty --
Environment:
Are there other
zstyle
that I could use to avoid this?Thanks!