Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.28k stars 94 forks source link

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

Open snics opened 1 year ago

snics commented 1 year ago

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

Xe-no1 commented 1 month ago

No way I finally found someone with my same question, AFAIK there is no way according to my skimming of the fzf-tab and zsh docs. Too bad for the both of us.