Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Q] Display icons in the main fzf-tab list

snics opened this issue · comments

Describe your question
A clear and concise description of your question.

Hello,

I'm using fzf-tab in my zsh setup and I'm loving it. However, I would like to see an additional enhancement.

Currently, I can use the fzf-preview attribute to show a preview with icons for files and directories, e.g., with exa. But, I would love to have the capability to show icons directly in the main list (not in a preview) when searching for files or directories.

For instance:
When I type the cd command and press the tab key, I want all directories to be displayed with icons (like those provided by exa) in the fzf-tab list.

I understand that fzf-tab relies on zsh's default completion to generate candidates, but is there a way to modify these candidates before they're displayed to add icons?

Any help or direction would be greatly appreciated!

Best,
Nico